Uses of Class java.util.zip.Inflater (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.util.zip.Inflater

- Packages that use Inflater
  Package | Description
  --- | ---
  java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats.

- - ### Uses of Inflater in java.util.zip

    Fields in java.util.zip declared as Inflater
    Modifier and Type | Field and Description
    --- | ---
    `protected Inflater` | InflaterInputStream.`inf` Decompressor for this stream.
    `protected Inflater` | InflaterOutputStream.`inf` Decompressor for this stream.

    Constructors in java.util.zip with parameters of type Inflater
    Constructor and Description
    `InflaterInputStream(InputStream in, Inflater inf)` Creates a new input stream with the specified decompressor and a default buffer size.
    `InflaterInputStream(InputStream in, Inflater inf, int size)` Creates a new input stream with the specified decompressor and buffer size.
    `InflaterOutputStream(OutputStream out, Inflater infl)` Creates a new output stream with the specified decompressor and a default buffer size.
    `InflaterOutputStream(OutputStream out, Inflater infl, int bufLen)` Creates a new output stream with the specified decompressor and buffer size.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.