Home » openjdk-7 » java » util » jar » [javadoc | source]
java.util.jar
public static class: Attributes.Name [javadoc | source]
java.lang.Object
   java.util.jar.Attributes$Name
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 Summary
public static final  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  Name SIGNATURE_VERSION    Name object for Signature-Version manifest attribute used when signing JAR files. 
public static final  Name CONTENT_TYPE    Name object for Content-Type manifest attribute. 
public static final  Name CLASS_PATH    Name object for Class-Path manifest attribute. Bundled extensions can use this attribute to find other JAR files containing needed classes. 
public static final  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  Name SEALED    Name object for Sealed manifest attribute used for sealing. 
public static final  Name EXTENSION_LIST    Name object for Extension-List manifest attribute used for declaring dependencies on installed extensions. 
public static final  Name EXTENSION_NAME    Name object for Extension-Name manifest attribute used for declaring dependencies on installed extensions. 
public static final  Name EXTENSION_INSTALLATION    Name object for Extension-Name manifest attribute used for declaring dependencies on installed extensions. 
public static final  Name IMPLEMENTATION_TITLE    Name object for Implementation-Title manifest attribute used for package versioning. 
public static final  Name IMPLEMENTATION_VERSION    Name object for Implementation-Version manifest attribute used for package versioning. 
public static final  Name IMPLEMENTATION_VENDOR    Name object for Implementation-Vendor manifest attribute used for package versioning. 
public static final  Name IMPLEMENTATION_VENDOR_ID    Name object for Implementation-Vendor-Id manifest attribute used for package versioning. 
public static final  Name IMPLEMENTATION_URL    Name object for Implementation-Vendor-URL manifest attribute used for package versioning. 
public static final  Name SPECIFICATION_TITLE    Name object for Specification-Title manifest attribute used for package versioning. 
public static final  Name SPECIFICATION_VERSION    Name object for Specification-Version manifest attribute used for package versioning. 
public static final  Name SPECIFICATION_VENDOR    Name object for Specification-Vendor manifest attribute used for package versioning. 
Constructor:
 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
    exception: IllegalArgumentException - if the attribute name was invalid
    exception: NullPointerException - if the attribute name was null
Method from java.util.jar.Attributes$Name Summary:
equals,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.jar.Attributes$Name Detail:
 public boolean equals(Object o) 
    Compares this attribute name to another for equality.
 public int hashCode() 
    Computes the hash value for this attribute name.
 public String toString() 
    Returns the attribute name as a String.