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.
Thrown to indicate an attempt to access a JAR file with a
java.util.jarpackage is based on the following specifications:
In JAR files, all file names must be encoded in the UTF-8 encoding.
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, 2013, Oracle and/or its affiliates. All rights reserved.