| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JarOutputStreamThe  JarOutputStreamclass is used to write the contents
 of a JAR file to any output stream. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | GZIPOutputStreamThis class implements a stream filter for writing compressed data in
 the GZIP file format. | 
| class  | ZipOutputStreamThis 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, 2015, Oracle and/or its affiliates.  All rights reserved.