ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.io.tar
Class TarGzInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.jboss.shrinkwrap.impl.base.io.tar.TarInputStream
              extended by org.jboss.shrinkwrap.impl.base.io.tar.TarGzInputStream
All Implemented Interfaces:
Closeable

public class TarGzInputStream
extends TarInputStream

The TarGzInputStream 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().

Author:
ALR

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
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
TarGzInputStream(InputStream is)
           
TarGzInputStream(InputStream is, int blockSize)
           
TarGzInputStream(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TarGzInputStream

public TarGzInputStream(InputStream is)
                 throws IOException
Parameters:
is -
Throws:
IOException

TarGzInputStream

public TarGzInputStream(InputStream is,
                        int blockSize)
                 throws IOException
Parameters:
is -
blockSize -
Throws:
IOException

TarGzInputStream

public TarGzInputStream(InputStream is,
                        int blockSize,
                        int recordSize)
                 throws IOException
Parameters:
is -
blockSize -
recordSize -
Throws:
IOException

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.