Method Summary |
|
public synchronized void | end() Closes the decompressor and discards any unprocessed input.
This method should be called when the decompressor is no longer
being used, but will also be called automatically by the finalize()
method. |
protected void | finalize() Closes the decompressor when garbage is collected. |
public synchronized boolean | finished() Return true if the end of the compressed data stream has been
reached. |
public synchronized int | getAdler() Returns the ADLER-32 value of the uncompressed data. |
public synchronized int | getRemaining() Returns the total number of bytes remaining in the input buffer. |
public synchronized int | getTotalIn() Returns the total number of bytes input so far. |
public synchronized int | getTotalOut() Returns the total number of bytes output so far. |
public synchronized int | inflate(byte[] b, int off, int len) Uncompresses bytes into specified buffer. |
public int | inflate(byte[] b) Uncompresses bytes into specified buffer. |
public synchronized boolean | needsDictionary() Returns true if a preset dictionary is needed for decompression. |
public synchronized boolean | needsInput() Returns true if no data remains in the input buffer. |
public synchronized void | reset() Resets inflater so that a new set of input data can be processed. |
public synchronized void | setDictionary(byte[] b, int off, int len) Sets the preset dictionary to the given array of bytes. |
public void | setDictionary(byte[] b) Sets the preset dictionary to the given array of bytes. |
public synchronized void | setInput(byte[] b, int off, int len) Sets input data for decompression. |
public void | setInput(byte[] b) Sets input data for decompression. |