|
Java Platform 1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.jar.Attributes.Name
The Attributes.Name class represents an attribute name stored in this Map. Attribute names are case-insensitive and restricted to the ASCII characters in the set [0-9a-zA-Z_-].
Field Summary | |
static Attributes.Name |
CLASS_PATH
Some predefined attribute names. |
static Attributes.Name |
CONTENT_TYPE
Some predefined attribute names. |
static Attributes.Name |
IMPLEMENTATION_TITLE
Some predefined attribute names. |
static Attributes.Name |
IMPLEMENTATION_VENDOR
Some predefined attribute names. |
static Attributes.Name |
IMPLEMENTATION_VERSION
Some predefined attribute names. |
static Attributes.Name |
MAIN_CLASS
Some predefined attribute names. |
static Attributes.Name |
MANIFEST_VERSION
Some predefined attribute names. |
static Attributes.Name |
SEALED
Some predefined attribute names. |
static Attributes.Name |
SIGNATURE_VERSION
Some predefined attribute names. |
static Attributes.Name |
SPECIFICATION_TITLE
Some predefined attribute names. |
static Attributes.Name |
SPECIFICATION_VENDOR
Some predefined attribute names. |
static Attributes.Name |
SPECIFICATION_VERSION
Some predefined attribute names. |
Constructor Summary | |
Attributes.Name(String name)
Constructs a new attribute name using the given string name. |
Method Summary | |
boolean |
equals(Object o)
Compares this attribute name to another for equality. |
int |
hashCode()
Computes the hash value for this attribute name. |
String |
toString()
Returns the attribute name as a String. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final Attributes.Name MANIFEST_VERSION
public static final Attributes.Name SIGNATURE_VERSION
public static final Attributes.Name CONTENT_TYPE
public static final Attributes.Name CLASS_PATH
public static final Attributes.Name MAIN_CLASS
public static final Attributes.Name SEALED
public static final Attributes.Name IMPLEMENTATION_TITLE
public static final Attributes.Name IMPLEMENTATION_VERSION
public static final Attributes.Name IMPLEMENTATION_VENDOR
public static final Attributes.Name SPECIFICATION_TITLE
public static final Attributes.Name SPECIFICATION_VERSION
public static final Attributes.Name SPECIFICATION_VENDOR
Constructor Detail |
public Attributes.Name(String name)
name
- the attribute string nameMethod Detail |
public boolean equals(Object o)
o
- the object to comparepublic int hashCode()
public String toString()
|
Java Platform 1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |