Attributes
public static class Attributes.Name extends Object
Modifier and Type | Field | Description |
---|---|---|
static final Attributes.Name |
CLASS_PATH |
Name object for Class-Path manifest attribute. |
static final Attributes.Name |
CONTENT_TYPE |
Name object for Content-Type manifest attribute. |
static final Attributes.Name |
EXTENSION_INSTALLATION |
Deprecated. Extension mechanism is no longer supported. |
static final Attributes.Name |
EXTENSION_LIST |
Name object for Extension-List manifest attribute used for the extension mechanism that is no longer supported. |
static final Attributes.Name |
EXTENSION_NAME |
Name object for Extension-Name manifest attribute used for the extension mechanism that is no longer supported. |
static final Attributes.Name |
IMPLEMENTATION_TITLE |
Name object for Implementation-Title manifest attribute used for package versioning. |
static final Attributes.Name |
IMPLEMENTATION_URL |
Deprecated. Extension mechanism is no longer supported. |
static final Attributes.Name |
IMPLEMENTATION_VENDOR |
Name object for Implementation-Vendor manifest attribute used for package versioning. |
static final Attributes.Name |
IMPLEMENTATION_VENDOR_ID |
Deprecated. Extension mechanism is no longer supported. |
static final Attributes.Name |
IMPLEMENTATION_VERSION |
Name object for Implementation-Version manifest attribute used for package versioning. |
static final Attributes.Name |
MAIN_CLASS |
Name object for Main-Class manifest attribute used for launching applications packaged in JAR files. |
static final Attributes.Name |
MANIFEST_VERSION |
Name object for Manifest-Version manifest attribute. |
static final Attributes.Name |
MULTI_RELEASE |
Name object for Multi-Release manifest attribute that indicates this is a multi-release JAR file. |
static final Attributes.Name |
SEALED |
Name object for Sealed manifest attribute used for sealing. |
static final Attributes.Name |
SIGNATURE_VERSION |
Name object for Signature-Version manifest attribute used when signing JAR files. |
static final Attributes.Name |
SPECIFICATION_TITLE |
Name object for Specification-Title manifest attribute used for package versioning. |
static final Attributes.Name |
SPECIFICATION_VENDOR |
Name object for Specification-Vendor manifest attribute used for package versioning. |
static final Attributes.Name |
SPECIFICATION_VERSION |
Name object for Specification-Version manifest attribute used for package versioning. |
Constructor | Description |
---|---|
Name |
Constructs a new attribute name using the given string name. |
public static final Attributes.Name MANIFEST_VERSION
Name
object for Manifest-Version
manifest attribute. This attribute indicates the version number of the manifest standard to which a JAR file's manifest conforms.public static final Attributes.Name SIGNATURE_VERSION
Name
object for Signature-Version
manifest attribute used when signing JAR files.public static final Attributes.Name CONTENT_TYPE
Name
object for Content-Type
manifest attribute.public static final Attributes.Name CLASS_PATH
Name
object for Class-Path
manifest attribute.public static final Attributes.Name MAIN_CLASS
Name
object for Main-Class
manifest attribute used for launching applications packaged in JAR files. The Main-Class
attribute is used in conjunction with the -jar
command-line option of the java
application launcher.public static final Attributes.Name SEALED
Name
object for Sealed
manifest attribute used for sealing.public static final Attributes.Name EXTENSION_LIST
Name
object for Extension-List
manifest attribute used for the extension mechanism that is no longer supported.public static final Attributes.Name EXTENSION_NAME
Name
object for Extension-Name
manifest attribute used for the extension mechanism that is no longer supported.@Deprecated public static final Attributes.Name EXTENSION_INSTALLATION
Name
object for Extension-Installation
manifest attribute.public static final Attributes.Name IMPLEMENTATION_TITLE
Name
object for Implementation-Title
manifest attribute used for package versioning.public static final Attributes.Name IMPLEMENTATION_VERSION
Name
object for Implementation-Version
manifest attribute used for package versioning.public static final Attributes.Name IMPLEMENTATION_VENDOR
Name
object for Implementation-Vendor
manifest attribute used for package versioning.@Deprecated public static final Attributes.Name IMPLEMENTATION_VENDOR_ID
Name
object for Implementation-Vendor-Id
manifest attribute.@Deprecated public static final Attributes.Name IMPLEMENTATION_URL
Name
object for Implementation-URL
manifest attribute.public static final Attributes.Name SPECIFICATION_TITLE
Name
object for Specification-Title
manifest attribute used for package versioning.public static final Attributes.Name SPECIFICATION_VERSION
Name
object for Specification-Version
manifest attribute used for package versioning.public static final Attributes.Name SPECIFICATION_VENDOR
Name
object for Specification-Vendor
manifest attribute used for package versioning.public static final Attributes.Name MULTI_RELEASE
Name
object for Multi-Release
manifest attribute that indicates this is a multi-release JAR file.public Name(String name)
name
- the attribute string nameIllegalArgumentException
- if the attribute name was invalidNullPointerException
- if the attribute name was nullpublic boolean equals(Object o)
public int hashCode()
public String toString()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/jar/Attributes.Name.html