Class TarGzInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.jboss.shrinkwrap.impl.base.io.tar.TarInputStream
-
- org.jboss.shrinkwrap.impl.base.io.tar.TarGzInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class TarGzInputStream extends TarInputStream
TheTarGzInputStream
reads a UNIX TAR archive, further encoded in GZIP compresssion, as an InputStream. Methods are provided to position at each successive entry in the archive, and the read each entry as a normal input stream using read().
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.shrinkwrap.impl.base.io.tar.TarInputStream
TarInputStream.EntryAdapter, TarInputStream.EntryFactory
-
-
Field Summary
-
Fields inherited from class org.jboss.shrinkwrap.impl.base.io.tar.TarInputStream
buffer, currEntry, debug, eFactory, entryOffset, entrySize, hasHitEOF, oneBuf, readBuf
-
-
Constructor Summary
Constructors Constructor Description TarGzInputStream(java.io.InputStream is)
TarGzInputStream(java.io.InputStream is, int blockSize)
TarGzInputStream(java.io.InputStream is, int blockSize, int recordSize)
-
Method Summary
-
Methods inherited from class org.jboss.shrinkwrap.impl.base.io.tar.TarInputStream
available, close, copyEntryContents, getEntryPosition, getNextEntry, getRecordSize, getStreamPosition, mark, markSupported, read, read, read, reset, setBufferDebug, setDebug, setEntryFactory, skip
-
-
-
-
Constructor Detail
-
TarGzInputStream
public TarGzInputStream(java.io.InputStream is) throws java.io.IOException
- Parameters:
is
-- Throws:
java.io.IOException
-
TarGzInputStream
public TarGzInputStream(java.io.InputStream is, int blockSize) throws java.io.IOException
- Parameters:
is
-blockSize
-- Throws:
java.io.IOException
-
TarGzInputStream
public TarGzInputStream(java.io.InputStream is, int blockSize, int recordSize) throws java.io.IOException
- Parameters:
is
-blockSize
-recordSize
-- Throws:
java.io.IOException
-
-