java.util.zip.Inflater (JDK 1.1)
This class implements the general ZLIB data decompression algorithm used by gzip, PKZip, and other data compression applications. It decompresses or "inflates" data compressed through the Deflater class.
The important methods of this class are setInput(), which specifies input data to be decompressed, and inflate(), which decompresses the input data into an output buffer. A number of other methods exist so that this class can be used for stream-based decompression, as it is in the higher-level classes such as GZIPInputStream and ZipInputStream. These stream-based classes are sufficient in most cases. Most applications do not need to use Inflater directly.
public classInflaterextends Object { //Public ConstructorspublicInflater(booleannowrap); publicInflater(); //Public Instance Methodspublic synchronized native voidend(); public synchronized booleanfinished(); public synchronized native intgetAdler(); public synchronized intgetRemaining(); public synchronized native intgetTotalIn(); public synchronized native intgetTotalOut(); public synchronized native intinflate(byte[]b, intoff, intlen) throws DataFormatException; public intinflate(byte[]b) throws DataFormatException; public synchronized booleanneedsDictionary(); public synchronized booleanneedsInput(); public synchronized native voidreset(); public synchronized native voidsetDictionary(byte[]b, intoff, intlen); public voidsetDictionary(byte[]b); public synchronized voidsetInput(byte[]b, intoff, intlen); public voidsetInput(byte[]b); //Protected Instance Methodsprotected voidfinalize(); //Overrides Object}
Passed To:
InflaterInputStream()
Type Of:
InflaterInputStream.inf