Deflater.Deflater

Deflater.Deflater

Class Overview | Class Members | This Package | All Packages

Syntax 1
public Deflater( int level, boolean nowrap )
Parameters
level
the compression level (0-9)
nowrap
if true then use GZIP compatible compression
Description
Creates a new compressor using the specified compression level. If 'nowrap' is true then the ZLIB header and checksum fields will not be used in order to support the compression format used in both GZIP and PKZIP.



Syntax 2
public Deflater( int level )
Parameters
level
the compression level (0-9)
Description
Creates a new compressor using the specified compression level. Compressed data will be generated in ZLIB format.



Syntax 3
public Deflater()
Description
Creates a new compressor with the default compression level. Compressed data will be generated in ZLIB format.