java.lang.Object
java.util.jar.Attributes.Name
- Enclosing class:
Attributes
The Attributes.Name class represents an attribute name stored in
this Map. Valid attribute names are case-insensitive, are restricted
to the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed
70 characters in length. Attribute values can contain any characters
and will be UTF8-encoded when written to the output stream. See the
JAR File Specification
for more information about valid attribute names and values.
- External Specifications
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Attributes.Name
Name
object forClass-Path
manifest attribute.static final Attributes.Name
Name
object forContent-Type
manifest attribute.static final Attributes.Name
Deprecated.Extension mechanism is no longer supported.static final Attributes.Name
Name
object forExtension-List
manifest attribute used for the extension mechanism that is no longer supported.static final Attributes.Name
Name
object forExtension-Name
manifest attribute used for the extension mechanism that is no longer supported.static final Attributes.Name
Name
object forImplementation-Title
manifest attribute used for package versioning.static final Attributes.Name
Deprecated.Extension mechanism is no longer supported.static final Attributes.Name
Name
object forImplementation-Vendor
manifest attribute used for package versioning.static final Attributes.Name
Deprecated.Extension mechanism is no longer supported.static final Attributes.Name
Name
object forImplementation-Version
manifest attribute used for package versioning.static final Attributes.Name
Name
object forMain-Class
manifest attribute used for launching applications packaged in JAR files.static final Attributes.Name
Name
object forManifest-Version
manifest attribute.static final Attributes.Name
Name
object forMulti-Release
manifest attribute that indicates this is a multi-release JAR file.static final Attributes.Name
Name
object forSealed
manifest attribute used for sealing.static final Attributes.Name
Name
object forSignature-Version
manifest attribute used when signing JAR files.static final Attributes.Name
Name
object forSpecification-Title
manifest attribute used for package versioning.static final Attributes.Name
Name
object forSpecification-Vendor
manifest attribute used for package versioning.static final Attributes.Name
Name
object forSpecification-Version
manifest attribute used for package versioning. -
Constructor Summary
-
Method Summary
-
Field Details
-
MANIFEST_VERSION
Name
object forManifest-Version
manifest attribute. This attribute indicates the version number of the manifest standard to which a JAR file's manifest conforms.- See Also:
-
SIGNATURE_VERSION
Name
object forSignature-Version
manifest attribute used when signing JAR files.- See Also:
-
CONTENT_TYPE
Name
object forContent-Type
manifest attribute. -
CLASS_PATH
Name
object forClass-Path
manifest attribute.- See Also:
-
MAIN_CLASS
Name
object forMain-Class
manifest attribute used for launching applications packaged in JAR files. TheMain-Class
attribute is used in conjunction with the-jar
command-line option of thejava
application launcher. -
SEALED
Name
object forSealed
manifest attribute used for sealing.- See Also:
-
EXTENSION_LIST
Name
object forExtension-List
manifest attribute used for the extension mechanism that is no longer supported. -
EXTENSION_NAME
Name
object forExtension-Name
manifest attribute used for the extension mechanism that is no longer supported. -
EXTENSION_INSTALLATION
Deprecated.Extension mechanism is no longer supported.Name
object forExtension-Installation
manifest attribute. -
IMPLEMENTATION_TITLE
Name
object forImplementation-Title
manifest attribute used for package versioning. -
IMPLEMENTATION_VERSION
Name
object forImplementation-Version
manifest attribute used for package versioning. -
IMPLEMENTATION_VENDOR
Name
object forImplementation-Vendor
manifest attribute used for package versioning. -
IMPLEMENTATION_VENDOR_ID
Deprecated.Extension mechanism is no longer supported.Name
object forImplementation-Vendor-Id
manifest attribute. -
IMPLEMENTATION_URL
Deprecated.Extension mechanism is no longer supported.Name
object forImplementation-URL
manifest attribute. -
SPECIFICATION_TITLE
Name
object forSpecification-Title
manifest attribute used for package versioning. -
SPECIFICATION_VERSION
Name
object forSpecification-Version
manifest attribute used for package versioning. -
SPECIFICATION_VENDOR
Name
object forSpecification-Vendor
manifest attribute used for package versioning. -
MULTI_RELEASE
Name
object forMulti-Release
manifest attribute that indicates this is a multi-release JAR file.- Since:
- 9
-
-
Constructor Details
-
Name
Constructs a new attribute name using the given string name.- Parameters:
name
- the attribute string name- Throws:
IllegalArgumentException
- if the attribute name was invalidNullPointerException
- if the attribute name was null
-
-
Method Details
-
equals
-
hashCode
-
toString
-