Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.compress.compressors.gzip
Class GzipCompressorInputStream

    java.lang.Object
      java.io.InputStream
          org.apache.commons.compress.compressors.CompressorInputStream
              org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream

All Implemented Interfaces:
  Closeable

    public class GzipCompressorInputStream

extends CompressorInputStream

Implements the "gz" compression format as an input stream. This classes wraps the standard java classes for working with gz.

Constructor Summary
`GzipCompressorInputStream(InputStream inputStream)` Constructs a new GZip compressed input stream by the referenced InputStream.

Method Summary
`int` | `read()`

Methods inherited from class org.apache.commons.compress.compressors.CompressorInputStream
`count, getCount`

Methods inherited from class java.io.InputStream
`available, close, mark, markSupported, read, read, reset, skip`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GzipCompressorInputStream

    public GzipCompressorInputStream(InputStream inputStream)
                              throws IOException

  Constructs a new GZip compressed input stream by the referenced InputStream.

  Parameters:
    `inputStream` - the InputStream from which this object should be created of
  Throws:
    `IOException` - if the stream could not be created

Method Detail

### read

    public int read()
             throws IOException

  Specified by:
    `read` in class `InputStream`
  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.