| java.lang.Object org.h2.compress.CompressDeflate
CompressDeflate | public class CompressDeflate implements Compressor(Code) | | 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.
|
Method Summary | |
public int | compress(byte[] in, int inLen, byte[] out, int outPos) | public void | expand(byte[] in, int inPos, int inLen, byte[] out, int outPos, int outLen) | public int | getAlgorithm() | public void | setOptions(String options) |
compress | public int compress(byte[] in, int inLen, byte[] out, int outPos)(Code) | | |
expand | public void expand(byte[] in, int inPos, int inLen, byte[] out, int outPos, int outLen) throws SQLException(Code) | | |
getAlgorithm | public int getAlgorithm()(Code) | | |
|
|