Fills specified buffer with compressed data. Closes the compressor when garbage is collected. When called, indicates that compression should end with the current contents of the input buffer. Returns true if the end of the compressed data output stream has been reached. Returns the total number of bytes input so far.
Resets deflater so that a new set of input data can be processed.
Sets preset dictionary for compression. Sets input data for compression. Sets the current compression level to the specified value. Sets the compression strategy to the specified value. Methods inherited from class java.lang.