Inflater (Java SE 25 & JDK 25)
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
Constructors
-
Method Summary
voidclose()Closes and releases the resources held by this
Inflaterand discards any unprocessed input.voidend()Closes and releases the resources held by this
Inflaterand discards any unprocessed input.booleanfinished()Returns true if the end of the compressed data stream has been reached.
intgetAdler()Returns the ADLER-32 value of the uncompressed data.
longReturns the total number of compressed bytes input so far.
longReturns the total number of uncompressed bytes output so far.
intReturns the total number of bytes remaining in the input buffer.
intintintinflate(byte[] output) Uncompresses bytes into specified buffer.
intinflate(byte[] output, int off, int len) Uncompresses bytes into specified buffer.
intUncompresses bytes into specified buffer.
booleanReturns true if a preset dictionary is needed for decompression.
booleanReturns true if no data remains in the input buffer.
voidreset()Resets inflater so that a new set of input data can be processed.
voidsetDictionary(byte[] dictionary) Sets the preset dictionary to the given array of bytes.
voidsetDictionary(byte[] dictionary, int off, int len) Sets the preset dictionary to the given array of bytes.
voidSets the preset dictionary to the bytes in the given buffer.
voidsetInput(byte[] input) Sets input data for decompression.
voidsetInput(byte[] input, int off, int len) Sets input data for decompression.
voidSets input data for decompression.
-
Constructor Details
-
Inflater
-
Inflater
-
-
Method Details
-
setInput
-
setInput
-
setInput
-
setDictionary
-
setDictionary
-
setDictionary
-
getRemaining
-
needsInput
-
needsDictionary
-
finished
-
inflate
-
inflate
-
inflate
-
getAdler
-
getTotalIn
-
getBytesRead
-
getTotalOut
-
getBytesWritten
-
reset
-
end
-
close
-