Package Summary  Overview Summary

class:Attributes.Name [NONE]

  • Enclosing class:
    Attributes

    public static class Attributes.Name
    extends Object
    
    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.

field:MANIFEST_VERSION [NONE]

  • MANIFEST_VERSION

    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.
    See Also:
    Manifest and Signature Specification

field:SIGNATURE_VERSION [NONE]

field:CONTENT_TYPE [NONE]

  • CONTENT_TYPE

    public static final Attributes.Name CONTENT_TYPE
    Name object for Content-Type manifest attribute.

field:CLASS_PATH [NONE]

field:MAIN_CLASS [NONE]

  • MAIN_CLASS

    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.

field:SEALED [NONE]

field:EXTENSION_LIST [NONE]

  • EXTENSION_LIST

    public static final Attributes.Name EXTENSION_LIST
    Name object for Extension-List manifest attribute used for the extension mechanism that is no longer supported.

field:EXTENSION_NAME [NONE]

  • EXTENSION_NAME

    public static final Attributes.Name EXTENSION_NAME
    Name object for Extension-Name manifest attribute. used for the extension mechanism that is no longer supported.

field:EXTENSION_INSTALLATION [NONE]

  • EXTENSION_INSTALLATION

    @Deprecated
    public static final Attributes.Name EXTENSION_INSTALLATION
    Deprecated.
    Extension mechanism is no longer supported.
    Name object for Extension-Installation manifest attribute.

field:IMPLEMENTATION_TITLE [NONE]

  • IMPLEMENTATION_TITLE

    public static final Attributes.Name IMPLEMENTATION_TITLE
    Name object for Implementation-Title manifest attribute used for package versioning.

field:IMPLEMENTATION_VERSION [NONE]

  • IMPLEMENTATION_VERSION

    public static final Attributes.Name IMPLEMENTATION_VERSION
    Name object for Implementation-Version manifest attribute used for package versioning.

field:IMPLEMENTATION_VENDOR [NONE]

  • IMPLEMENTATION_VENDOR

    public static final Attributes.Name IMPLEMENTATION_VENDOR
    Name object for Implementation-Vendor manifest attribute used for package versioning.

field:IMPLEMENTATION_VENDOR_ID [NONE]

  • IMPLEMENTATION_VENDOR_ID

    @Deprecated
    public static final Attributes.Name IMPLEMENTATION_VENDOR_ID
    Deprecated.
    Extension mechanism is no longer supported.
    Name object for Implementation-Vendor-Id manifest attribute.

field:IMPLEMENTATION_URL [NONE]

  • IMPLEMENTATION_URL

    @Deprecated
    public static final Attributes.Name IMPLEMENTATION_URL
    Deprecated.
    Extension mechanism is no longer supported.
    Name object for Implementation-URL manifest attribute.

field:SPECIFICATION_TITLE [NONE]

  • SPECIFICATION_TITLE

    public static final Attributes.Name SPECIFICATION_TITLE
    Name object for Specification-Title manifest attribute used for package versioning.

field:SPECIFICATION_VERSION [NONE]

  • SPECIFICATION_VERSION

    public static final Attributes.Name SPECIFICATION_VERSION
    Name object for Specification-Version manifest attribute used for package versioning.

field:SPECIFICATION_VENDOR [NONE]

  • SPECIFICATION_VENDOR

    public static final Attributes.Name SPECIFICATION_VENDOR
    Name object for Specification-Vendor manifest attribute used for package versioning.

field:MULTI_RELEASE [NONE]

  • MULTI_RELEASE

    public static final Attributes.Name MULTI_RELEASE
    Name object for Multi-Release manifest attribute that indicates this is a multi-release JAR file.
    Since:
    9

constructor:<init>(java.lang.String) [NONE]

  • Name

    public Name​(String name)
    Constructs 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:equals(java.lang.Object) [NONE]

  • equals

    public boolean equals​(Object o)
    Compares this attribute name to another for equality.
    Overrides:
    equals in class Object
    Parameters:
    o - the object to compare
    Returns:
    true if this attribute name is equal to the specified attribute object
    See Also:
    Object.hashCode(), HashMap

method:hashCode() [NONE]

method:toString() [NONE]

  • toString

    public String toString()
    Returns the attribute name as a String.
    Overrides:
    toString in class Object
    Returns:
    a string representation of the object.

© 2019 Oracle Corporation and/or its affiliates