Java java.util.zip Inflater fields, constructors, methods, implement or subclass

Example usage for Java java.util.zip Inflater fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.zip Inflater.

The text is from its open source code.

Field

booleanfinished

Constructor

Inflater()
Creates a new decompressor.
Inflater(boolean nowrap)
Creates a new decompressor.

Method

voidend()
Closes the decompressor and discards any unprocessed input.
intgetRemaining()
Returns the total number of bytes remaining in the input buffer.
intinflate(byte[] output)
Uncompresses bytes into specified buffer.
intinflate(ByteBuffer output)
Uncompresses bytes into specified buffer.
intinflate(byte[] output, int off, int len)
Uncompresses bytes into specified buffer.
booleanneedsDictionary()
Returns true if a preset dictionary is needed for decompression.
booleanneedsInput()
Returns 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(ByteBuffer dictionary)
Sets the preset dictionary to the bytes in the given buffer.
voidsetInput(byte[] input)
Sets input data for decompression.
voidsetInput(ByteBuffer input)
Sets input data for decompression.
voidsetInput(byte[] input, int off, int len)
Sets input data for decompression.