Class Attributes.Name
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.
- Since:
- 1.2
- External Specifications
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Attributes.NameNameobject forClass-Pathmanifest attribute.static final Attributes.NameNameobject forContent-Typemanifest attribute.static final Attributes.NameDeprecated.Extension mechanism is no longer supported.static final Attributes.NameNameobject forExtension-Listmanifest attribute used for the extension mechanism that is no longer supported.static final Attributes.NameNameobject forExtension-Namemanifest attribute used for the extension mechanism that is no longer supported.static final Attributes.NameNameobject forImplementation-Titlemanifest attribute used for package versioning.static final Attributes.NameDeprecated.Extension mechanism is no longer supported.static final Attributes.NameNameobject forImplementation-Vendormanifest attribute used for package versioning.static final Attributes.NameDeprecated.Extension mechanism is no longer supported.static final Attributes.NameNameobject forImplementation-Versionmanifest attribute used for package versioning.static final Attributes.NameNameobject forMain-Classmanifest attribute used for launching applications packaged in JAR files.static final Attributes.NameNameobject forManifest-Versionmanifest attribute.static final Attributes.NameNameobject forMulti-Releasemanifest attribute that indicates this is a multi-release JAR file.static final Attributes.NameNameobject forSealedmanifest attribute used for sealing.static final Attributes.NameNameobject forSignature-Versionmanifest attribute used when signing JAR files.static final Attributes.NameNameobject forSpecification-Titlemanifest attribute used for package versioning.static final Attributes.NameNameobject forSpecification-Vendormanifest attribute used for package versioning.static final Attributes.NameNameobject forSpecification-Versionmanifest attribute used for package versioning.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
MANIFEST_VERSIONNameobject forManifest-Versionmanifest attribute. This attribute indicates the version number of the manifest standard to which a JAR file's manifest conforms.- See Also:
 
- 
SIGNATURE_VERSIONNameobject forSignature-Versionmanifest attribute used when signing JAR files.- See Also:
 
- 
CONTENT_TYPENameobject forContent-Typemanifest attribute.
- 
CLASS_PATHNameobject forClass-Pathmanifest attribute.- See Also:
 
- 
MAIN_CLASSNameobject forMain-Classmanifest attribute used for launching applications packaged in JAR files. TheMain-Classattribute is used in conjunction with the-jarcommand-line option of thejavaapplication launcher.
- 
SEALEDNameobject forSealedmanifest attribute used for sealing.- See Also:
 
- 
EXTENSION_LISTNameobject forExtension-Listmanifest attribute used for the extension mechanism that is no longer supported.
- 
EXTENSION_NAMENameobject forExtension-Namemanifest attribute used for the extension mechanism that is no longer supported.
- 
EXTENSION_INSTALLATIONDeprecated.Extension mechanism is no longer supported.Nameobject forExtension-Installationmanifest attribute.
- 
IMPLEMENTATION_TITLENameobject forImplementation-Titlemanifest attribute used for package versioning.
- 
IMPLEMENTATION_VERSIONNameobject forImplementation-Versionmanifest attribute used for package versioning.
- 
IMPLEMENTATION_VENDORNameobject forImplementation-Vendormanifest attribute used for package versioning.
- 
IMPLEMENTATION_VENDOR_IDDeprecated.Extension mechanism is no longer supported.Nameobject forImplementation-Vendor-Idmanifest attribute.
- 
IMPLEMENTATION_URLDeprecated.Extension mechanism is no longer supported.Nameobject forImplementation-URLmanifest attribute.
- 
SPECIFICATION_TITLENameobject forSpecification-Titlemanifest attribute used for package versioning.
- 
SPECIFICATION_VERSIONNameobject forSpecification-Versionmanifest attribute used for package versioning.
- 
SPECIFICATION_VENDORNameobject forSpecification-Vendormanifest attribute used for package versioning.
- 
MULTI_RELEASENameobject forMulti-Releasemanifest attribute that indicates this is a multi-release JAR file.- Since:
- 9
 
 
- 
- 
Constructor Details- 
NameConstructs a new attribute name using the given string name.- Parameters:
- name- the attribute string name
- Throws:
- IllegalArgumentException- if the attribute name was invalid
- NullPointerException- if the attribute name was null
 
 
- 
- 
Method Details- 
equals
- 
hashCode
- 
toString
 
-