# Class GZIPInputStream

java.lang.Object
java.io.InputStream
com.codename1.io.gzip.FilterInputStream
com.codename1.io.gzip.InflaterInputStream
com.codename1.io.gzip.GZIPInputStream

All Implemented Interfaces:
  `AutoCloseable`

public class GZIPInputStream extends InflaterInputStream

- ## Field Summary

  ### Fields inherited from class InflaterInputStream

  `buf, DEFAULT_BUFSIZE, inflater, myinflater`

  ### Fields inherited from class FilterInputStream

  `in`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GZIPInputStream(InputStream in)`
  `GZIPInputStream(InputStream in, int size, boolean closeIn)`
  `GZIPInputStream(InputStream in, Inflater inflater, int size, boolean closeIn)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getComment()`
  `long`
  `getCRC()`
  `long`
  `getModifiedtime()`
  `String`
  `getName()`
  `int`
  `getOS()`
  `void`
  `readHeader()`

  ### Methods inherited from class InflaterInputStream

  `available, close, fill, getAvailIn, getInflater, getTotalIn, getTotalOut, mark, markSupported, read, read, reset, skip`

  ### Methods inherited from class FilterInputStream

  `read`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GZIPInputStream

    public GZIPInputStream(InputStream in) throws IOException
    Throws:
      `IOException`

  - ### GZIPInputStream

    public GZIPInputStream(InputStream in, int size, boolean closeIn) throws IOException
    Throws:
      `IOException`

  - ### GZIPInputStream

    public GZIPInputStream(InputStream in, Inflater inflater, int size, boolean closeIn) throws IOException
    Throws:
      `IOException`

- ## Method Details

  - ### getModifiedtime

    public long getModifiedtime()

  - ### getOS

    public int getOS()

  - ### getName

    public String getName()

  - ### getComment

    public String getComment()

  - ### getCRC

    public long getCRC() throws GZIPException
    Throws:
      `GZIPException`

  - ### readHeader

    public void readHeader() throws IOException
    Overrides:
      `readHeader` in class `InflaterInputStream`
    Throws:
      `IOException`