com.ibm.security12.java.util.zip
Class Inflater

java.lang.Object
  |
  +--java.util.zip.Inflater
        |
        +--com.ibm.security12.java.util.zip.Inflater

public class Inflater
extends Inflater

This class provides support for general purpose decompression using 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:
Deflater

Constructor Summary
Inflater()
          Creates a new decompressor.
Inflater(boolean nowrap)
          Creates a new decompressor.
 
Methods inherited from class java.util.zip.Inflater
end, finalize, finished, getAdler, getRemaining, getTotalIn, getTotalOut, inflate, inflate, needsDictionary, needsInput, reset, setDictionary, setDictionary, setInput, setInput
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inflater

public Inflater(boolean nowrap)
Creates a new decompressor. If the parameter 'nowrap' is true then the ZLIB header and checksum fields will not be used. This provides compatibility with the compression format used by both GZIP and PKZIP.

Note: When using the 'nowrap' option it is also necessary to provide an extra "dummy" byte as input. This is required by the ZLIB native library in order to support certain optimizations.

Parameters:
nowrap - if true then support GZIP compatible compression

Inflater

public Inflater()
Creates a new decompressor.