Package com.jcraft.jzlib
Class Inflate
- java.lang.Object
-
- com.jcraft.jzlib.Inflate
-
final class Inflate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
Inflate.Return
-
Field Summary
Fields Modifier and Type Field Description private static int
BAD
(package private) InfBlocks
blocks
private static int
BLOCKS
private static int
CHECK1
private static int
CHECK2
private static int
CHECK3
private static int
CHECK4
private static int
COMMENT
private byte[]
crcbuf
private static int
DICT0
private static int
DICT1
private static int
DICT2
private static int
DICT3
private static int
DICT4
private static int
DONE
private static int
EXLEN
private static int
EXTRA
private static int
FLAG
private int
flags
private static int
FLAGS
(package private) GZIPHeader
gheader
private static int
HCRC
private static int
HEAD
(package private) static int
INFLATE_ANY
private static int
LENGTH
private static byte[]
mark
(package private) int
marker
private static int
MAX_WBITS
(package private) int
method
private static int
METHOD
(package private) int
mode
private static int
NAME
(package private) long
need
private int
need_bytes
private static int
OS
private static int
PRESET_DICT
private static int
TIME
private java.io.ByteArrayOutputStream
tmp_string
(package private) long
was
(package private) int
wbits
(package private) int
wrap
private ZStream
z
private static int
Z_BUF_ERROR
private static int
Z_DATA_ERROR
private static int
Z_DEFLATED
private static int
Z_ERRNO
(package private) static int
Z_FINISH
(package private) static int
Z_FULL_FLUSH
private static int
Z_MEM_ERROR
private static int
Z_NEED_DICT
(package private) static int
Z_NO_FLUSH
private static int
Z_OK
(package private) static int
Z_PARTIAL_FLUSH
private static int
Z_STREAM_END
private static int
Z_STREAM_ERROR
(package private) static int
Z_SYNC_FLUSH
private static int
Z_VERSION_ERROR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
checksum(int n, long v)
GZIPHeader
getGZIPHeader()
(package private) int
inflate(int f)
(package private) int
inflateEnd()
(package private) int
inflateInit(int w)
(package private) int
inflateReset()
(package private) int
inflateSetDictionary(byte[] dictionary, int dictLength)
(package private) int
inflateSync()
(package private) int
inflateSyncPoint()
(package private) boolean
inParsingHeader()
private int
readBytes(int r, int f)
private int
readBytes(int n, int r, int f)
private int
readString(int r, int f)
-
-
-
Field Detail
-
MAX_WBITS
private static final int MAX_WBITS
- See Also:
- Constant Field Values
-
PRESET_DICT
private static final int PRESET_DICT
- See Also:
- Constant Field Values
-
Z_NO_FLUSH
static final int Z_NO_FLUSH
- See Also:
- Constant Field Values
-
Z_PARTIAL_FLUSH
static final int Z_PARTIAL_FLUSH
- See Also:
- Constant Field Values
-
Z_SYNC_FLUSH
static final int Z_SYNC_FLUSH
- See Also:
- Constant Field Values
-
Z_FULL_FLUSH
static final int Z_FULL_FLUSH
- See Also:
- Constant Field Values
-
Z_FINISH
static final int Z_FINISH
- See Also:
- Constant Field Values
-
Z_DEFLATED
private static final int Z_DEFLATED
- See Also:
- Constant Field Values
-
Z_OK
private static final int Z_OK
- See Also:
- Constant Field Values
-
Z_STREAM_END
private static final int Z_STREAM_END
- See Also:
- Constant Field Values
-
Z_NEED_DICT
private static final int Z_NEED_DICT
- See Also:
- Constant Field Values
-
Z_ERRNO
private static final int Z_ERRNO
- See Also:
- Constant Field Values
-
Z_STREAM_ERROR
private static final int Z_STREAM_ERROR
- See Also:
- Constant Field Values
-
Z_DATA_ERROR
private static final int Z_DATA_ERROR
- See Also:
- Constant Field Values
-
Z_MEM_ERROR
private static final int Z_MEM_ERROR
- See Also:
- Constant Field Values
-
Z_BUF_ERROR
private static final int Z_BUF_ERROR
- See Also:
- Constant Field Values
-
Z_VERSION_ERROR
private static final int Z_VERSION_ERROR
- See Also:
- Constant Field Values
-
METHOD
private static final int METHOD
- See Also:
- Constant Field Values
-
FLAG
private static final int FLAG
- See Also:
- Constant Field Values
-
DICT4
private static final int DICT4
- See Also:
- Constant Field Values
-
DICT3
private static final int DICT3
- See Also:
- Constant Field Values
-
DICT2
private static final int DICT2
- See Also:
- Constant Field Values
-
DICT1
private static final int DICT1
- See Also:
- Constant Field Values
-
DICT0
private static final int DICT0
- See Also:
- Constant Field Values
-
BLOCKS
private static final int BLOCKS
- See Also:
- Constant Field Values
-
CHECK4
private static final int CHECK4
- See Also:
- Constant Field Values
-
CHECK3
private static final int CHECK3
- See Also:
- Constant Field Values
-
CHECK2
private static final int CHECK2
- See Also:
- Constant Field Values
-
CHECK1
private static final int CHECK1
- See Also:
- Constant Field Values
-
DONE
private static final int DONE
- See Also:
- Constant Field Values
-
BAD
private static final int BAD
- See Also:
- Constant Field Values
-
HEAD
private static final int HEAD
- See Also:
- Constant Field Values
-
LENGTH
private static final int LENGTH
- See Also:
- Constant Field Values
-
TIME
private static final int TIME
- See Also:
- Constant Field Values
-
OS
private static final int OS
- See Also:
- Constant Field Values
-
EXLEN
private static final int EXLEN
- See Also:
- Constant Field Values
-
EXTRA
private static final int EXTRA
- See Also:
- Constant Field Values
-
NAME
private static final int NAME
- See Also:
- Constant Field Values
-
COMMENT
private static final int COMMENT
- See Also:
- Constant Field Values
-
HCRC
private static final int HCRC
- See Also:
- Constant Field Values
-
FLAGS
private static final int FLAGS
- See Also:
- Constant Field Values
-
INFLATE_ANY
static final int INFLATE_ANY
- See Also:
- Constant Field Values
-
mode
int mode
-
method
int method
-
was
long was
-
need
long need
-
marker
int marker
-
wrap
int wrap
-
wbits
int wbits
-
blocks
InfBlocks blocks
-
z
private final ZStream z
-
flags
private int flags
-
need_bytes
private int need_bytes
-
crcbuf
private byte[] crcbuf
-
gheader
GZIPHeader gheader
-
mark
private static byte[] mark
-
tmp_string
private java.io.ByteArrayOutputStream tmp_string
-
-
Constructor Detail
-
Inflate
Inflate(ZStream z)
-
-
Method Detail
-
inflateReset
int inflateReset()
-
inflateEnd
int inflateEnd()
-
inflateInit
int inflateInit(int w)
-
inflate
int inflate(int f)
-
inflateSetDictionary
int inflateSetDictionary(byte[] dictionary, int dictLength)
-
inflateSync
int inflateSync()
-
inflateSyncPoint
int inflateSyncPoint()
-
readBytes
private int readBytes(int n, int r, int f) throws Inflate.Return
- Throws:
Inflate.Return
-
readString
private int readString(int r, int f) throws Inflate.Return
- Throws:
Inflate.Return
-
readBytes
private int readBytes(int r, int f) throws Inflate.Return
- Throws:
Inflate.Return
-
checksum
private void checksum(int n, long v)
-
getGZIPHeader
public GZIPHeader getGZIPHeader()
-
inParsingHeader
boolean inParsingHeader()
-
-