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.
|
Modifier and Type | Field and Description |
---|---|
static Attributes.Name |
Attributes.Name.CLASS_PATH
Name object for Class-Path
manifest attribute. |
static Attributes.Name |
Attributes.Name.CONTENT_TYPE
Name object for Content-Type
manifest attribute. |
static Attributes.Name |
Attributes.Name.EXTENSION_INSTALLATION
Deprecated.
Extension mechanism will be removed in a future release.
Use class path instead.
|
static Attributes.Name |
Attributes.Name.EXTENSION_LIST
Name object for Extension-List manifest attribute
used for declaring dependencies on installed extensions. |
static Attributes.Name |
Attributes.Name.EXTENSION_NAME
Name object for Extension-Name manifest attribute
used for declaring dependencies on installed extensions. |
static Attributes.Name |
Attributes.Name.IMPLEMENTATION_TITLE
Name object for Implementation-Title
manifest attribute used for package versioning. |
static Attributes.Name |
Attributes.Name.IMPLEMENTATION_URL
Deprecated.
Extension mechanism will be removed in a future release.
Use class path instead.
|
static Attributes.Name |
Attributes.Name.IMPLEMENTATION_VENDOR
Name object for Implementation-Vendor
manifest attribute used for package versioning. |
static Attributes.Name |
Attributes.Name.IMPLEMENTATION_VENDOR_ID
Deprecated.
Extension mechanism will be removed in a future release.
Use class path instead.
|
static Attributes.Name |
Attributes.Name.IMPLEMENTATION_VERSION
Name object for Implementation-Version
manifest attribute used for package versioning. |
static Attributes.Name |
Attributes.Name.MAIN_CLASS
Name object for Main-Class manifest
attribute used for launching applications packaged in JAR files. |
static Attributes.Name |
Attributes.Name.MANIFEST_VERSION
Name object for Manifest-Version
manifest attribute. |
static Attributes.Name |
Attributes.Name.SEALED
Name object for Sealed manifest attribute
used for sealing. |
static Attributes.Name |
Attributes.Name.SIGNATURE_VERSION
Name object for Signature-Version
manifest attribute used when signing JAR files. |
static Attributes.Name |
Attributes.Name.SPECIFICATION_TITLE
Name object for Specification-Title
manifest attribute used for package versioning. |
static Attributes.Name |
Attributes.Name.SPECIFICATION_VENDOR
Name object for Specification-Vendor
manifest attribute used for package versioning. |
static Attributes.Name |
Attributes.Name.SPECIFICATION_VERSION
Name object for Specification-Version
manifest attribute used for package versioning. |
Modifier and Type | Method and Description |
---|---|
String |
Attributes.getValue(Attributes.Name name)
Returns the value of the specified Attributes.Name, or null if the
attribute was not found.
|
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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.