Method Summary |
|
public synchronized void | end() Release any resources associated with this Inflater. |
protected void | finalize() |
public synchronized boolean | finished() Indicates if the Inflater has inflated the entire deflated stream. |
public synchronized int | getAdler() Returns the Adler32 checksum of either all bytes inflated, or the
checksum of the preset dictionary if one has been supplied. |
public synchronized long | getBytesRead() Returns a long int of total number of bytes of input read by the
Inflater. |
public synchronized long | getBytesWritten() Returns a long int of total number of bytes of input output by the
Inflater. |
public synchronized int | getRemaining() |
public synchronized int | getTotalIn() Returns total number of bytes of input read by the Inflater. |
public synchronized int | getTotalOut() Returns total number of bytes of input output by the Inflater. |
public int | inflate(byte[] buf) Inflates bytes from current input and stores them in buf. |
public synchronized int | inflate(byte[] buf, int off, int nbytes) Inflates up to nbytes bytes from current input and stores them in buf
starting at off. |
public synchronized boolean | needsDictionary() Indicates whether the input bytes were compressed with a preset
dictionary. |
public synchronized boolean | needsInput() Answers whether more data is required in the input buffer. |
public synchronized void | reset() Resets the Inflater. |
public synchronized void | setDictionary(byte[] buf) Sets the preset dictionary to be used for inflation. |
public synchronized void | setDictionary(byte[] buf, int off, int nbytes) Sets the dictionary used to inflate the given data. |
public synchronized void | setInput(byte[] buf) Sets the current input to buf. |
public synchronized void | setInput(byte[] buf, int off, int nbytes) Sets the current input to the region of buf starting at off and ending at
nbytes - 1. |