CompressDeflate
This is a wrapper class for the Deflater class.
This algorithm supports the following options:
- l or level: -1 (default), 0 (no compression),
1 (best speed), ..., 9 (best compression)
- s or strategy: 0 (default),
1 (filtered), 2 (huffman only)
See also java.util.zip.Deflater for details.
| Methods |
| int |
compress(byte[] in, int inLen, byte[] out, int outPos)
|
| int |
compress(byte[] in, int inLen, byte[] out, int outPos)
|
| void |
expand(byte[] in, int inPos, int inLen, byte[] out, int outPos, int outLen)
|
| void |
expand(byte[] in, int inPos, int inLen, byte[] out, int outPos, int outLen)
|
| int |
getAlgorithm()
|
| int |
getAlgorithm()
|
| void |
setOptions(String options)
|
| void |
setOptions(String options)
|
|