Package com.jcraft.jzlib
Class ZStream
- java.lang.Object
-
- com.jcraft.jzlib.ZStream
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ChecksumadlerDeprecated.intavail_inDeprecated.intavail_outDeprecated.(package private) intdata_typeDeprecated.private static intDEF_WBITSDeprecated.(package private) DeflatedstateDeprecated.(package private) InflateistateDeprecated.private static intMAX_MEM_LEVELDeprecated.private static intMAX_WBITSDeprecated.java.lang.StringmsgDeprecated.byte[]next_inDeprecated.intnext_in_indexDeprecated.byte[]next_outDeprecated.intnext_out_indexDeprecated.longtotal_inDeprecated.longtotal_outDeprecated.private static intZ_BUF_ERRORDeprecated.private static intZ_DATA_ERRORDeprecated.private static intZ_ERRNODeprecated.private static intZ_FINISHDeprecated.private static intZ_FULL_FLUSHDeprecated.private static intZ_MEM_ERRORDeprecated.private static intZ_NEED_DICTDeprecated.private static intZ_NO_FLUSHDeprecated.private static intZ_OKDeprecated.private static intZ_PARTIAL_FLUSHDeprecated.private static intZ_STREAM_ENDDeprecated.private static intZ_STREAM_ERRORDeprecated.private static intZ_SYNC_FLUSHDeprecated.private static intZ_VERSION_ERRORDeprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intdeflate(int flush)Deprecated.intdeflateEnd()Deprecated.intdeflateInit(int level)Deprecated.intdeflateInit(int level, boolean nowrap)Deprecated.intdeflateInit(int level, int bits)Deprecated.intdeflateInit(int level, int bits, boolean nowrap)Deprecated.intdeflateInit(int level, int bits, int memlevel)Deprecated.intdeflateInit(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)Deprecated.intdeflateParams(int level, int strategy)Deprecated.intdeflateSetDictionary(byte[] dictionary, int dictLength)Deprecated.intend()Deprecated.Those methods are expected to be override by Inflater and Deflater.booleanfinished()Deprecated.(package private) voidflush_pending()Deprecated.voidfree()Deprecated.longgetAdler()Deprecated.intgetAvailIn()Deprecated.intgetAvailOut()Deprecated.java.lang.StringgetMessage()Deprecated.byte[]getNextIn()Deprecated.intgetNextInIndex()Deprecated.byte[]getNextOut()Deprecated.intgetNextOutIndex()Deprecated.longgetTotalIn()Deprecated.longgetTotalOut()Deprecated.intinflate(int f)Deprecated.intinflateEnd()Deprecated.booleaninflateFinished()Deprecated.intinflateInit()Deprecated.intinflateInit(boolean nowrap)Deprecated.intinflateInit(int w)Deprecated.intinflateInit(int w, boolean nowrap)Deprecated.intinflateInit(int w, JZlib.WrapperType wrapperType)Deprecated.intinflateInit(JZlib.WrapperType wrapperType)Deprecated.intinflateSetDictionary(byte[] dictionary, int dictLength)Deprecated.intinflateSync()Deprecated.intinflateSyncPoint()Deprecated.(package private) intread_buf(byte[] buf, int start, int size)Deprecated.voidsetAvailIn(int avail_in)Deprecated.voidsetAvailOut(int avail_out)Deprecated.voidsetInput(byte[] buf)Deprecated.voidsetInput(byte[] buf, boolean append)Deprecated.voidsetInput(byte[] buf, int off, int len, boolean append)Deprecated.voidsetNextIn(byte[] next_in)Deprecated.voidsetNextInIndex(int next_in_index)Deprecated.voidsetNextOut(byte[] next_out)Deprecated.voidsetNextOutIndex(int next_out_index)Deprecated.voidsetOutput(byte[] buf)Deprecated.voidsetOutput(byte[] buf, int off, int len)Deprecated.
-
-
-
Field Detail
-
MAX_WBITS
private static final int MAX_WBITS
Deprecated.- See Also:
- Constant Field Values
-
DEF_WBITS
private static final int DEF_WBITS
Deprecated.- See Also:
- Constant Field Values
-
Z_NO_FLUSH
private static final int Z_NO_FLUSH
Deprecated.- See Also:
- Constant Field Values
-
Z_PARTIAL_FLUSH
private static final int Z_PARTIAL_FLUSH
Deprecated.- See Also:
- Constant Field Values
-
Z_SYNC_FLUSH
private static final int Z_SYNC_FLUSH
Deprecated.- See Also:
- Constant Field Values
-
Z_FULL_FLUSH
private static final int Z_FULL_FLUSH
Deprecated.- See Also:
- Constant Field Values
-
Z_FINISH
private static final int Z_FINISH
Deprecated.- See Also:
- Constant Field Values
-
MAX_MEM_LEVEL
private static final int MAX_MEM_LEVEL
Deprecated.- See Also:
- Constant Field Values
-
Z_OK
private static final int Z_OK
Deprecated.- See Also:
- Constant Field Values
-
Z_STREAM_END
private static final int Z_STREAM_END
Deprecated.- See Also:
- Constant Field Values
-
Z_NEED_DICT
private static final int Z_NEED_DICT
Deprecated.- See Also:
- Constant Field Values
-
Z_ERRNO
private static final int Z_ERRNO
Deprecated.- See Also:
- Constant Field Values
-
Z_STREAM_ERROR
private static final int Z_STREAM_ERROR
Deprecated.- See Also:
- Constant Field Values
-
Z_DATA_ERROR
private static final int Z_DATA_ERROR
Deprecated.- See Also:
- Constant Field Values
-
Z_MEM_ERROR
private static final int Z_MEM_ERROR
Deprecated.- See Also:
- Constant Field Values
-
Z_BUF_ERROR
private static final int Z_BUF_ERROR
Deprecated.- See Also:
- Constant Field Values
-
Z_VERSION_ERROR
private static final int Z_VERSION_ERROR
Deprecated.- See Also:
- Constant Field Values
-
next_in
public byte[] next_in
Deprecated.
-
next_in_index
public int next_in_index
Deprecated.
-
avail_in
public int avail_in
Deprecated.
-
total_in
public long total_in
Deprecated.
-
next_out
public byte[] next_out
Deprecated.
-
next_out_index
public int next_out_index
Deprecated.
-
avail_out
public int avail_out
Deprecated.
-
total_out
public long total_out
Deprecated.
-
msg
public java.lang.String msg
Deprecated.
-
dstate
Deflate dstate
Deprecated.
-
istate
Inflate istate
Deprecated.
-
data_type
int data_type
Deprecated.
-
adler
Checksum adler
Deprecated.
-
-
Constructor Detail
-
ZStream
public ZStream()
Deprecated.
-
ZStream
public ZStream(Checksum adler)
Deprecated.
-
-
Method Detail
-
inflateInit
public int inflateInit()
Deprecated.
-
inflateInit
public int inflateInit(boolean nowrap)
Deprecated.
-
inflateInit
public int inflateInit(int w)
Deprecated.
-
inflateInit
public int inflateInit(JZlib.WrapperType wrapperType)
Deprecated.
-
inflateInit
public int inflateInit(int w, JZlib.WrapperType wrapperType)Deprecated.
-
inflateInit
public int inflateInit(int w, boolean nowrap)Deprecated.
-
inflate
public int inflate(int f)
Deprecated.
-
inflateEnd
public int inflateEnd()
Deprecated.
-
inflateSync
public int inflateSync()
Deprecated.
-
inflateSyncPoint
public int inflateSyncPoint()
Deprecated.
-
inflateSetDictionary
public int inflateSetDictionary(byte[] dictionary, int dictLength)Deprecated.
-
inflateFinished
public boolean inflateFinished()
Deprecated.
-
deflateInit
public int deflateInit(int level)
Deprecated.
-
deflateInit
public int deflateInit(int level, boolean nowrap)Deprecated.
-
deflateInit
public int deflateInit(int level, int bits)Deprecated.
-
deflateInit
public int deflateInit(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)Deprecated.
-
deflateInit
public int deflateInit(int level, int bits, int memlevel)Deprecated.
-
deflateInit
public int deflateInit(int level, int bits, boolean nowrap)Deprecated.
-
deflate
public int deflate(int flush)
Deprecated.
-
deflateEnd
public int deflateEnd()
Deprecated.
-
deflateParams
public int deflateParams(int level, int strategy)Deprecated.
-
deflateSetDictionary
public int deflateSetDictionary(byte[] dictionary, int dictLength)Deprecated.
-
flush_pending
void flush_pending()
Deprecated.
-
read_buf
int read_buf(byte[] buf, int start, int size)Deprecated.
-
getAdler
public long getAdler()
Deprecated.
-
free
public void free()
Deprecated.
-
setOutput
public void setOutput(byte[] buf)
Deprecated.
-
setOutput
public void setOutput(byte[] buf, int off, int len)Deprecated.
-
setInput
public void setInput(byte[] buf)
Deprecated.
-
setInput
public void setInput(byte[] buf, boolean append)Deprecated.
-
setInput
public void setInput(byte[] buf, int off, int len, boolean append)Deprecated.
-
getNextIn
public byte[] getNextIn()
Deprecated.
-
setNextIn
public void setNextIn(byte[] next_in)
Deprecated.
-
getNextInIndex
public int getNextInIndex()
Deprecated.
-
setNextInIndex
public void setNextInIndex(int next_in_index)
Deprecated.
-
getAvailIn
public int getAvailIn()
Deprecated.
-
setAvailIn
public void setAvailIn(int avail_in)
Deprecated.
-
getNextOut
public byte[] getNextOut()
Deprecated.
-
setNextOut
public void setNextOut(byte[] next_out)
Deprecated.
-
getNextOutIndex
public int getNextOutIndex()
Deprecated.
-
setNextOutIndex
public void setNextOutIndex(int next_out_index)
Deprecated.
-
getAvailOut
public int getAvailOut()
Deprecated.
-
setAvailOut
public void setAvailOut(int avail_out)
Deprecated.
-
getTotalOut
public long getTotalOut()
Deprecated.
-
getTotalIn
public long getTotalIn()
Deprecated.
-
getMessage
public java.lang.String getMessage()
Deprecated.
-
end
public int end()
Deprecated.Those methods are expected to be override by Inflater and Deflater. In the future, they will become abstract methods.- Returns:
- an error code
-
finished
public boolean finished()
Deprecated.
-
-