Class | Description |
---|
Deflater |
This is the Deflater class. The deflater class compresses input
with the deflate algorithm described in RFC 1951. It has several
compression levels and three different strategies described below.
This class is not thread safe. This is inherent in the API, due
to the split of deflate and setInput.
author of the original java version : Jochen Hoenicke
|
DeflaterConstants |
This class contains constants used for the deflater.
|
DeflaterEngine | |
DeflaterHuffman |
This is the DeflaterHuffman class.
This class is not thread safe. This is inherent in the API, due
to the split of deflate and setInput.
author of the original java version : Jochen Hoenicke
|
DeflaterHuffman.Tree | |
DeflaterPending |
This class stores the pending output of the Deflater.
author of the original java version : Jochen Hoenicke
|
Inflater |
Inflater is used to decompress data that has been compressed according
to the "deflate" standard described in rfc1950.
The usage is as following. First you have to set some input with
setInput() , then inflate() it. If inflate doesn't
inflate any bytes there may be three reasons:
- needsInput() returns true because the input buffer is empty.
You have to provide more input with
setInput() .
NOTE: needsInput() also returns true when, the stream is finished.
- needsDictionary() returns true, you have to provide a preset
dictionary with
setDictionary() . - finished() returns true, the inflater has finished.
Once the first output byte is produced, a dictionary will not be
needed at a later stage.
author of the original java version : John Leuner, Jochen Hoenicke
|
InflaterHuffmanTree | |
PendingBuffer |
This class is general purpose class for writing data to a buffer.
It allows you to write bits as well as bytes
Based on DeflaterPending.java
author of the original java version : Jochen Hoenicke
|