public final class ZlibCodecFactory
extends java.lang.Object
ZlibEncoder
and a new ZlibDecoder
.限定符和类型 | 方法和说明 |
---|---|
static boolean |
isSupportingWindowSizeAndMemLevel()
Returns
true if specify a custom window size and mem level is supported. |
static ZlibDecoder |
newZlibDecoder() |
static ZlibDecoder |
newZlibDecoder(byte[] dictionary) |
static ZlibDecoder |
newZlibDecoder(ZlibWrapper wrapper) |
static ZlibEncoder |
newZlibEncoder(byte[] dictionary) |
static ZlibEncoder |
newZlibEncoder(int compressionLevel) |
static ZlibEncoder |
newZlibEncoder(int compressionLevel,
byte[] dictionary) |
static ZlibEncoder |
newZlibEncoder(int compressionLevel,
int windowBits,
int memLevel,
byte[] dictionary) |
static ZlibEncoder |
newZlibEncoder(ZlibWrapper wrapper) |
static ZlibEncoder |
newZlibEncoder(ZlibWrapper wrapper,
int compressionLevel) |
static ZlibEncoder |
newZlibEncoder(ZlibWrapper wrapper,
int compressionLevel,
int windowBits,
int memLevel) |
public static boolean isSupportingWindowSizeAndMemLevel()
true
if specify a custom window size and mem level is supported.public static ZlibEncoder newZlibEncoder(int compressionLevel)
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper)
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel)
public static ZlibEncoder newZlibEncoder(ZlibWrapper wrapper, int compressionLevel, int windowBits, int memLevel)
public static ZlibEncoder newZlibEncoder(byte[] dictionary)
public static ZlibEncoder newZlibEncoder(int compressionLevel, byte[] dictionary)
public static ZlibEncoder newZlibEncoder(int compressionLevel, int windowBits, int memLevel, byte[] dictionary)
public static ZlibDecoder newZlibDecoder()
public static ZlibDecoder newZlibDecoder(ZlibWrapper wrapper)
public static ZlibDecoder newZlibDecoder(byte[] dictionary)