API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.zip. InflaterOutputStream View Source
Author(s)
David R Tribble (david@tribble.com)
Since
1.6
Version
1.1
Serial
Hierarchy
 Object
      OutputStream
          FilterOutputStream
              InflaterOutputStream
Implements
Subclasses
Description
public class InflaterOutputStream
  Implements an output stream filter for uncompressing data stored in the "deflate" compression format.
Constructors
public InflaterOutputStream (OutputStream out)
  Creates a new output stream with a default decompressor and buffer size.
public InflaterOutputStream (OutputStream out, Inflater infl)
  Creates a new output stream with the specified decompressor and a default buffer size.
public InflaterOutputStream (OutputStream out, Inflater infl, int bufLen)
  Creates a new output stream with the specified decompressor and buffer size.
Methods
Hide/Show inherited methods
public void close () throws IOException [Overrides FilterOutputStream]
  Writes any remaining uncompressed data to the output stream and closes the underlying output stream.
public void finish () throws IOException
  Finishes writing uncompressed data to the output stream without closing the underlying stream.
public void flush () throws IOException [Overrides FilterOutputStream]
  Flushes this output stream, forcing any pending buffered output bytes to be written.
public void write (byte[] b) throws IOException [Inherited From FilterOutputStream]
  Writes b.length bytes to this output stream.
public void write (byte[] b, int off, int len) throws IOException [Overrides FilterOutputStream]
  Writes an array of bytes to the uncompressed output stream.
public void write (int b) throws IOException [Overrides FilterOutputStream] [Specified in OutputStream]
  Writes a byte to the uncompressed output stream.
Fields
Hide/Show inherited fields
protectedfinal byte buf
Output buffer for writing uncompressed data.
protectedfinal Inflater inf
Decompressor for this stream.
protected OutputStream out [Inherited From FilterOutputStream]
The underlying output stream to be filtered.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar