Name

Attributes.Name

Synopsis

This class represents the name of an attribute in an Attributes object. It defines constants for the various standard attribute names used in JAR file manifests. Attribute names can contain only ASCII letters, digits, and the hyphen and underscore characters. Any other Unicode characters are illegal.

public static class Attributes.Name {
// Public Constructors
     public Name(String name);  
// Public Constants
     public static final Attributes.Name CLASS_PATH;  
     public static final Attributes.Name CONTENT_TYPE;  
1.3  public static final Attributes.Name EXTENSION_INSTALLATION;  
1.3  public static final Attributes.Name EXTENSION_LIST;  
1.3  public static final Attributes.Name EXTENSION_NAME;  
     public static final Attributes.Name IMPLEMENTATION_TITLE;  
1.3  public static final Attributes.Name IMPLEMENTATION_URL;  
     public static final Attributes.Name IMPLEMENTATION_VENDOR;  
1.3  public static final Attributes.Name IMPLEMENTATION_VENDOR_ID;  
     public static final Attributes.Name IMPLEMENTATION_VERSION;  
     public static final Attributes.Name MAIN_CLASS;  
     public static final Attributes.Name MANIFEST_VERSION;  
     public static final Attributes.Name SEALED;  
     public static final Attributes.Name SIGNATURE_VERSION;  
     public static final Attributes.Name SPECIFICATION_TITLE;  
     public static final Attributes.Name SPECIFICATION_VENDOR;  
     public static final Attributes.Name SPECIFICATION_VERSION;  
// Public Methods Overriding Object
     public boolean equals(Object o);  
     public int hashCode( );  
     public String toString ...

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.