API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.zip. InflaterInputStream View Source
Author(s)
David Connelly
Since
Version
1.40, 04/07/06
Serial
Hierarchy
 Object
      InputStream
          FilterInputStream
              InflaterInputStream
Implements
Subclasses
Description
public class InflaterInputStream
  This class implements a stream filter for uncompressing data in the "deflate" compression format.
See also:    Inflater
Constructors
public InflaterInputStream (InputStream in)
  Creates a new input stream with a default decompressor and buffer size.
public InflaterInputStream (InputStream in, Inflater inf)
  Creates a new input stream with the specified decompressor and a default buffer size.
public InflaterInputStream (InputStream in, Inflater inf, int size)
  Creates a new input stream with the specified decompressor and buffer size.
Methods
Hide/Show inherited methods
public int available () throws IOException [Overrides FilterInputStream]
  Returns 0 after EOF has been reached, otherwise always return 1.
public void close () throws IOException [Overrides FilterInputStream]
  Closes this input stream and releases any system resources associated with the stream.
protected void fill () throws IOException
  Fills input buffer with more data to decompress.
publicsynchronized void mark (int readlimit) [Overrides FilterInputStream]
  Marks the current position in this input stream.
public boolean markSupported () [Overrides FilterInputStream]
  Tests if this input stream supports the mark and reset methods.
public int read () throws IOException [Overrides FilterInputStream] [Specified in InputStream]
  Reads a byte of uncompressed data.
public int read (byte[] b) throws IOException [Inherited From FilterInputStream]
  Reads up to byte.length bytes of data from this input stream into an array of bytes.
public int read (byte[] b, int off, int len) throws IOException [Overrides FilterInputStream]
  Reads uncompressed data into an array of bytes.
publicsynchronized void reset () throws IOException [Overrides FilterInputStream]
  Repositions this stream to the position at the time the mark method was last called on this input stream.
public long skip (long n) throws IOException [Overrides FilterInputStream]
  Skips specified number of bytes of uncompressed data.
Fields
Hide/Show inherited fields
protected byte buf
Input buffer for decompression.
protectedvolatile InputStream in [Inherited From FilterInputStream]
The input stream to be filtered.
protected Inflater inf
Decompressor for this stream.
protected int len
Length of input buffer.
pack-private boolean usesDefaultInflater
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar