| 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 | Description | 
|---|---|---|
| class  | JarInputStreamThe  JarInputStreamclass is used to read the contents of
 a JAR file from any input stream. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | GZIPInputStreamThis class implements a stream filter for reading compressed data in
 the GZIP file format. | |
| class  | ZipInputStreamThis class implements an input stream filter for reading 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.