Package com.jcraft.jzlib
Class Inflater
java.lang.Object
com.jcraft.jzlib.ZStream
com.jcraft.jzlib.Inflater
-
Field Summary
Fields inherited from class com.jcraft.jzlib.ZStream
avail_in, avail_out, DEF_WBITS, MAX_MEM_LEVEL, MAX_WBITS, msg, next_in, next_in_index, next_out, next_out_index, total_in, total_out, Z_BUF_ERROR, Z_DATA_ERROR, Z_ERRNO, Z_FINISH, Z_FULL_FLUSH, Z_MEM_ERROR, Z_NEED_DICT, Z_NO_FLUSH, Z_OK, Z_PARTIAL_FLUSH, Z_STREAM_END, Z_STREAM_ERROR, Z_SYNC_FLUSH, Z_VERSION_ERROR
-
Constructor Summary
ConstructorDescriptionInflater()
Inflater
(boolean nowrap) Inflater
(int w) Inflater
(int w, boolean nowrap) Inflater
(int w, JZlib.WrapperType wrapperType) Inflater
(JZlib.WrapperType wrapperType) -
Method Summary
Modifier and TypeMethodDescriptionint
end()
Those methods are expected to be override by Inflater and Deflater.boolean
finished()
int
inflate
(int f) int
init()
int
init
(boolean nowrap) int
init
(int w) int
init
(int w, boolean nowrap) int
init
(int w, JZlib.WrapperType wrapperType) int
init
(JZlib.WrapperType wrapperType) int
setDictionary
(byte[] dictionary, int dictLength) int
sync()
int
Methods inherited from class com.jcraft.jzlib.ZStream
deflate, deflateEnd, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateParams, deflateSetDictionary, free, getAdler, getAvailIn, getAvailOut, getMessage, getNextIn, getNextInIndex, getNextOut, getNextOutIndex, getTotalIn, getTotalOut, inflateEnd, inflateFinished, inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflateSetDictionary, inflateSync, inflateSyncPoint, setAvailIn, setAvailOut, setInput, setInput, setInput, setNextIn, setNextInIndex, setNextOut, setNextOutIndex, setOutput, setOutput
-
Constructor Details
-
Inflater
public Inflater() -
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
-
Method Details
-
init
public int init() -
init
-
init
-
init
public int init(boolean nowrap) -
init
public int init(int w) -
init
public int init(int w, boolean nowrap) -
inflate
public int inflate(int f) -
end
public int end()Description copied from class:ZStream
Those methods are expected to be override by Inflater and Deflater. In the future, they will become abstract methods. -
sync
public int sync() -
syncPoint
public int syncPoint() -
setDictionary
public int setDictionary(byte[] dictionary, int dictLength) -
finished
public boolean finished()
-