Top Fields Constructors Methods
com.jcraft.jzlib

public final Class Deflater

extends ZStream
Class Inheritance

Deprecated

as a consequence of ZStream being deprecated. See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
private static final int
private boolean
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
Inherited from com.jcraft.jzlib.ZStream:
adleravail_inavail_outdata_typedstateistatemsgnext_innext_in_indexnext_outnext_out_indextotal_intotal_out

Constructor Summary

AccessConstructor and Description
public
public
Deflater(int level)

public
Deflater(int level, boolean nowrap)

public
Deflater(int level, int bits)

public
Deflater(int level, int bits, boolean nowrap)

public
Deflater(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)

public
Deflater(int level, int bits, int memlevel)

Method Summary

Modifier and TypeMethod and Description
public int
copy(Deflater src)

Deprecated as a consequence of Deflater being deprecated.
public int
public int
end()

Overrides com.jcraft.jzlib.ZStream.end.

Those methods are expected to be override by Inflater and Deflater.
public boolean
public int
init(int level)

public int
init(int level, boolean nowrap)

public int
init(int level, int bits)

public int
init(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)

public int
init(int level, int bits, int memlevel)

public int
init(int level, int bits, boolean nowrap)

public int
params(int level, int strategy)

public int
setDictionary(byte[] dictionary, int dictLength)

Inherited from com.jcraft.jzlib.ZStream:
deflateEnddeflateInitdeflateInitdeflateInitdeflateInitdeflateInitdeflateInitdeflateParamsdeflateSetDictionaryflush_pendingfreegetAdlergetAvailIngetAvailOutgetMessagegetNextIngetNextInIndexgetNextOutgetNextOutIndexgetTotalIngetTotalOutinflateinflateEndinflateFinishedinflateInitinflateInitinflateInitinflateInitinflateInitinflateInitinflateSetDictionaryinflateSyncinflateSyncPointread_bufsetAvailInsetAvailOutsetInputsetInputsetInputsetNextInsetNextInIndexsetNextOutsetNextOutIndexsetOutputsetOutput

Field Detail

DEF_WBITSback to summary
private static final int DEF_WBITS

Hides com.jcraft.jzlib.ZStream.DEF_WBITS.

finishedback to summary
private boolean finished
MAX_MEM_LEVELback to summary
private static final int MAX_MEM_LEVEL

Hides com.jcraft.jzlib.ZStream.MAX_MEM_LEVEL.

MAX_WBITSback to summary
private static final int MAX_WBITS

Hides com.jcraft.jzlib.ZStream.MAX_WBITS.

Z_BUF_ERRORback to summary
private static final int Z_BUF_ERROR

Hides com.jcraft.jzlib.ZStream.Z_BUF_ERROR.

Z_DATA_ERRORback to summary
private static final int Z_DATA_ERROR

Hides com.jcraft.jzlib.ZStream.Z_DATA_ERROR.

Z_ERRNOback to summary
private static final int Z_ERRNO

Hides com.jcraft.jzlib.ZStream.Z_ERRNO.

Z_FINISHback to summary
private static final int Z_FINISH

Hides com.jcraft.jzlib.ZStream.Z_FINISH.

Z_FULL_FLUSHback to summary
private static final int Z_FULL_FLUSH

Hides com.jcraft.jzlib.ZStream.Z_FULL_FLUSH.

Z_MEM_ERRORback to summary
private static final int Z_MEM_ERROR

Hides com.jcraft.jzlib.ZStream.Z_MEM_ERROR.

Z_NEED_DICTback to summary
private static final int Z_NEED_DICT

Hides com.jcraft.jzlib.ZStream.Z_NEED_DICT.

Z_NO_FLUSHback to summary
private static final int Z_NO_FLUSH

Hides com.jcraft.jzlib.ZStream.Z_NO_FLUSH.

Z_OKback to summary
private static final int Z_OK

Hides com.jcraft.jzlib.ZStream.Z_OK.

Z_PARTIAL_FLUSHback to summary
private static final int Z_PARTIAL_FLUSH

Hides com.jcraft.jzlib.ZStream.Z_PARTIAL_FLUSH.

Z_STREAM_ENDback to summary
private static final int Z_STREAM_END

Hides com.jcraft.jzlib.ZStream.Z_STREAM_END.

Z_STREAM_ERRORback to summary
private static final int Z_STREAM_ERROR

Hides com.jcraft.jzlib.ZStream.Z_STREAM_ERROR.

Z_SYNC_FLUSHback to summary
private static final int Z_SYNC_FLUSH

Hides com.jcraft.jzlib.ZStream.Z_SYNC_FLUSH.

Z_VERSION_ERRORback to summary
private static final int Z_VERSION_ERROR

Hides com.jcraft.jzlib.ZStream.Z_VERSION_ERROR.

Constructor Detail

Deflaterback to summary
public Deflater()
Deflaterback to summary
public Deflater(int level) throws GZIPException
Deflaterback to summary
public Deflater(int level, boolean nowrap) throws GZIPException
Deflaterback to summary
public Deflater(int level, int bits) throws GZIPException
Deflaterback to summary
public Deflater(int level, int bits, boolean nowrap) throws GZIPException
Deflaterback to summary
public Deflater(int level, int bits, int memlevel, JZlib.WrapperType wrapperType) throws GZIPException
Deflaterback to summary
public Deflater(int level, int bits, int memlevel) throws GZIPException

Method Detail

copyback to summary
public int copy(Deflater src)

Deprecated

as a consequence of Deflater being deprecated. See corresponding docs for further information.

deflateback to summary
public int deflate(int flush)

Overrides com.jcraft.jzlib.ZStream.deflate.

endback to summary
public int end()

Overrides com.jcraft.jzlib.ZStream.end.

Doc from com.jcraft.jzlib.ZStream.end.

Those methods are expected to be override by Inflater and Deflater. In the future, they will become abstract methods.

finishedback to summary
public boolean finished()

Overrides com.jcraft.jzlib.ZStream.finished.

initback to summary
public int init(int level)
initback to summary
public int init(int level, boolean nowrap)
initback to summary
public int init(int level, int bits)
initback to summary
public int init(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)
initback to summary
public int init(int level, int bits, int memlevel)
initback to summary
public int init(int level, int bits, boolean nowrap)
paramsback to summary
public int params(int level, int strategy)
setDictionaryback to summary
public int setDictionary(byte[] dictionary, int dictLength)