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 |
JarException
Signals that an error of some sort has occurred while reading from
or writing to a JAR file.
|
Constructor and Description |
---|
ZipFile(File file)
Opens a ZIP file for reading given the specified File object.
|
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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.