Package | Description |
---|---|
org.jboss.shrinkwrap.impl.base.io.tar |
Modifier and Type | Method and Description |
---|---|
TarEntry |
TarInputStream.EntryFactory.createEntry(byte[] headerBuf) |
TarEntry |
TarInputStream.EntryAdapter.createEntry(byte[] headerBuf) |
TarEntry |
TarInputStream.EntryFactory.createEntry(java.io.File path) |
TarEntry |
TarInputStream.EntryAdapter.createEntry(java.io.File path) |
TarEntry[] |
TarEntry.getDirectoryEntries()
If this entry represents a file, and the file is a directory, return an array of TarEntries for this entry's
children.
|
static int |
TarHeader.getFileNameBytes(java.lang.String newName,
byte[] outbuf)
This method, like getNameBytes(), is intended to place a name into a TarHeader's buffer.
|
void |
TarEntry.getFileTarHeader(TarHeader hdr,
java.io.File file)
Fill in a TarHeader with information from a File.
|
static java.lang.StringBuffer |
TarHeader.parseName(byte[] header,
int offset,
int length)
Parse an entry name from a header buffer.
|
static long |
TarHeader.parseOctal(byte[] header,
int offset,
int length)
Parse an octal string from a header buffer.
|
void |
TarEntry.parseTarHeader(TarHeader hdr,
byte[] headerBuf)
Parse an entry's TarHeader information from a header buffer.
|
void |
TarEntry.writeEntryHeader(byte[] outbuf)
Write an entry's header information to a header buffer.
|
Constructor and Description |
---|
TarEntry(byte[] headerBuf)
Construct an entry from an archive's header bytes.
|
TarEntry(java.io.File file)
Construct an entry for a file.
|