Uses of Class java.util.zip.Deflater (Java Platform SE 8 )
Date: 2015-05-24

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

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

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

    Fields in java.util.zip declared as Deflater
    Modifier and Type | Field and Description
    --- | ---
    `protected Deflater` | DeflaterOutputStream.`def` Compressor for this stream.
    `protected Deflater` | DeflaterInputStream.`def` Compressor for this stream.

    Constructors in java.util.zip with parameters of type Deflater
    Constructor and Description
    `DeflaterInputStream(InputStream in, Deflater defl)` Creates a new input stream with the specified compressor and a default buffer size.
    `DeflaterInputStream(InputStream in, Deflater defl, int bufLen)` Creates a new input stream with the specified compressor and buffer size.
    `DeflaterOutputStream(OutputStream out, Deflater def)` Creates a new output stream with the specified compressor and a default buffer size.
    `DeflaterOutputStream(OutputStream out, Deflater def, boolean syncFlush)` Creates a new output stream with the specified compressor, flush mode and a default buffer size.
    `DeflaterOutputStream(OutputStream out, Deflater def, int size)` Creates a new output stream with the specified compressor and buffer size.
    `DeflaterOutputStream(OutputStream out, Deflater def, int size, boolean syncFlush)` Creates a new output stream with the specified compressor, buffer size and flush mode.

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, 2015, Oracle and/or its affiliates. All rights reserved.