Uses of Class java.util.zip.DeflaterOutputStream (Java Platform SE 8 )
Date: 2026-06-25

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

- Packages that use DeflaterOutputStream
  Package | Description
  --- | ---
  java.util.jar | Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.
  java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats.

- - ### Uses of DeflaterOutputStream in java.util.jar

    Subclasses of DeflaterOutputStream in java.util.jar
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JarOutputStream` The `JarOutputStream` class is used to write the contents of a JAR file to any output stream.

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

    Subclasses of DeflaterOutputStream in java.util.zip
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GZIPOutputStream` This class implements a stream filter for writing compressed data in the GZIP file format.
    `class` | `ZipOutputStream` This class implements an output stream filter for writing files in the ZIP file format.

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.