The packer engine applies various transformations to the input JAR file, making the pack stream highly compressible by a compressor such as gzip or zip.
The unpacker engine converts the packed stream to a JAR file.
The Attributes class maps Manifest attribute names to associated string values.
The Attributes.Name class represents an attribute name stored in this Map.
This class is used to represent a JAR file entry.
The Manifest class is used to maintain Manifest entry names and their associated Attributes.
Transforms a JAR file to or from a packed stream in Pack200 format.
Signals that an error of some sort has occurred while reading from or writing to a JAR file.
java.util.jarpackage is based on the following specifications:
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, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.