com.ibm.security12.java.util.zip
Class Deflater
java.lang.Object
|
+--java.util.zip.Deflater
|
+--com.ibm.security12.java.util.zip.Deflater
- public class Deflater
- extends Deflater
This class provides support for general purpose compression using the
popular ZLIB compression library. The ZLIB compression library was
initially developed as part of the PNG graphics standard and is not
protected by patents. It is fully described in the specifications at
the java.util.zip
package description.
- Version:
- 1.31, 10/29/98
- Author:
- David Connelly
- See Also:
Inflater
Constructor Summary |
Deflater()
Creates a new compressor with the default compression level. |
Deflater(int level)
Creates a new compressor using the specified compression level. |
Deflater(int level,
boolean nowrap)
Creates a new compressor using the specified compression level. |
Methods inherited from class java.util.zip.Deflater |
deflate,
deflate,
end,
finalize,
finish,
finished,
getAdler,
getTotalIn,
getTotalOut,
needsInput,
reset,
setDictionary,
setDictionary,
setInput,
setInput,
setLevel,
setStrategy |
Deflater
public Deflater(int level,
boolean nowrap)
- 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.
- Parameters:
level
- the compression level (0-9)nowrap
- if true then use GZIP compatible compression
Deflater
public Deflater(int level)
- Creates a new compressor using the specified compression level.
Compressed data will be generated in ZLIB format.
- Parameters:
level
- the compression level (0-9)
Deflater
public Deflater()
- Creates a new compressor with the default compression level.
Compressed data will be generated in ZLIB format.