Example usage for Java org.apache.commons.compress.archivers.tar TarArchiveInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
TarArchiveInputStream(InputStream is) Constructor for TarInputStream. | |
TarArchiveInputStream(InputStream is, int blockSize) Constructor for TarInputStream. |
int | available() Get the available data that can be read from the current entry in the archive. |
boolean | canReadEntryData(ArchiveEntry ae) Whether this class is able to read the given entry. |
void | close() Closes this stream. |
ArchiveEntry | getNextEntry() |
TarArchiveEntry | getNextTarEntry() Get the next entry in this tar archive. |
boolean | matches(byte[] signature, int length) Checks if the signature matches what is expected for a tar file. |
int | read(byte[] buf, int offset, int numToRead) Reads bytes from the current tar archive entry. |
int | read(byte b[]) Reads some number of bytes from the input stream and stores them into the buffer array b . |
void | reset() Since we do not support marking just yet, we do nothing. |
long | skip(long numToSkip) Skip bytes in the input buffer. |