Changed Methods |
int compress(byte[], int, int)
|
Changed from abstract to non-abstract.
|
Fills specified buffer with compressed data. |
void end()
|
Changed from abstract to non-abstract.
|
Closes the compressor and discards any unprocessed input. |
void finish()
|
Changed from abstract to non-abstract.
|
When called indicates that compression should end with the current contents of the input buffer. |
boolean finished()
|
Changed from abstract to non-abstract.
|
Returns true if the end of the compressed data output stream has been reached. |
long getBytesRead()
|
Changed from abstract to non-abstract.
|
Return number of uncompressed bytes input so far. |
long getBytesWritten()
|
Changed from abstract to non-abstract.
|
Return number of compressed bytes output so far. |
boolean needsInput()
|
Changed from abstract to non-abstract.
|
Returns true if the input data buffer is empty and #setInput() should be called to provide more input. |
void reinit(Configuration )
|
Changed from abstract to non-abstract.
|
Prepare the compressor to be used in a new stream with settings defined in the given Configuration |
void reset()
|
Changed from abstract to non-abstract.
|
Resets compressor so that a new set of input data can be processed. |
void setDictionary(byte[], int, int)
|
Changed from abstract to non-abstract.
|
Sets preset dictionary for compression. |
void setInput(byte[], int, int)
|
Changed from abstract to non-abstract.
|
Sets input data for compression. |