com.jcraft.jzlib
Class GZIPInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by com.jcraft.jzlib.InflaterInputStream
              extended by com.jcraft.jzlib.GZIPInputStream
All Implemented Interfaces:
Closeable

public class GZIPInputStream
extends InflaterInputStream


Field Summary
 
Fields inherited from class com.jcraft.jzlib.InflaterInputStream
buf, DEFAULT_BUFSIZE, inflater, myinflater
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
GZIPInputStream(InputStream in)
           
GZIPInputStream(InputStream in, Inflater inflater, int size, boolean close_in)
           
GZIPInputStream(InputStream in, int size, boolean close_in)
           
 
Method Summary
 String getComment()
           
 long getCRC()
           
 long getModifiedtime()
           
 String getName()
           
 int getOS()
           
 void readHeader()
           
 
Methods inherited from class com.jcraft.jzlib.InflaterInputStream
available, close, fill, getAvailIn, getInflater, getTotalIn, getTotalOut, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZIPInputStream

public GZIPInputStream(InputStream in)
                throws IOException
Throws:
IOException

GZIPInputStream

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

GZIPInputStream

public GZIPInputStream(InputStream in,
                       Inflater inflater,
                       int size,
                       boolean close_in)
                throws IOException
Throws:
IOException
Method Detail

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


Copyright © 2015 Perforce Software. All Rights Reserved.