Java org.apache.commons.compress.archivers.tar TarArchiveInputStream fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.compress.archivers.tar TarArchiveInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.compress.archivers.tar TarArchiveInputStream.

The text is from its open source code.

Subclass

org.apache.commons.compress.archivers.tar.TarArchiveInputStream has subclasses.
Click this link to see all its subclasses.

Constructor

TarArchiveInputStream(InputStream is)
Constructor for TarInputStream.
TarArchiveInputStream(InputStream is, int blockSize)
Constructor for TarInputStream.

Method

intavailable()
Get the available data that can be read from the current entry in the archive.
booleancanReadEntryData(ArchiveEntry ae)
Whether this class is able to read the given entry.
voidclose()
Closes this stream.
ArchiveEntrygetNextEntry()
TarArchiveEntrygetNextTarEntry()
Get the next entry in this tar archive.
booleanmatches(byte[] signature, int length)
Checks if the signature matches what is expected for a tar file.
intread(byte[] buf, int offset, int numToRead)
Reads bytes from the current tar archive entry.
intread(byte b[])
Reads some number of bytes from the input stream and stores them into the buffer array b.
voidreset()
Since we do not support marking just yet, we do nothing.
longskip(long numToSkip)
Skip bytes in the input buffer.