public final class Deflater
Constructors
Methods
Inherited fields
From ZStream
nextIn, nextInIndex, availIn, totalIn, nextOut, nextOutIndex, availOut, totalOut, msg
Inherited methods
From ZStream
inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflate, inflateEnd, inflateSync, inflateSyncPoint, inflateSetDictionary, inflateFinished, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateEnd, deflateParams, deflateSetDictionary, getAdler, free, setOutput, setOutput, setInput, setInput, setInput, getNextIn, setNextIn, getNextInIndex, setNextInIndex, getAvailIn, setAvailIn, getNextOut, setNextOut, getNextOutIndex, setNextOutIndex, getAvailOut, setAvailOut, getTotalOut, getTotalIn, getMessage
Constructor details
Deflater
public Deflater()Deflater
public Deflater(int level)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, boolean nowrap)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits, boolean nowrap)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits, int memlevel)
throws GZIPExceptionThrows
Method details
init
public int init(int level)init
public int init(int level, boolean nowrap)init
public int init(int level, int bits)init
public int init(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)init
public int init(int level, int bits, int memlevel)init
public int init(int level, int bits, boolean nowrap)deflate
public int deflate(int flush)end
public int end()Those methods are expected to be override by Inflater and Deflater.
In the future, they will become abstract methods.
params
public int params(int level, int strategy)setDictionary
public int setDictionary(byte[] dictionary, int dictLength)finished
public boolean finished()copy
public int copy(Deflater src)