Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class java.util.jar.Attributes.Name

java.lang.Object
    |
    +----java.util.jar.Attributes.Name

public static class Attributes.Name
extends Object
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  ARCHIVE_SEALED
Some predefined attribute names.
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  PACKAGE_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()
 
String  toString()
Returns the attribute name as a String.
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MANIFEST_VERSION

public static final Attributes.Name MANIFEST_VERSION
Some predefined attribute names.

SIGNATURE_VERSION

public static final Attributes.Name SIGNATURE_VERSION
Some predefined attribute names.

ARCHIVE_SEALED

public static final Attributes.Name ARCHIVE_SEALED
Some predefined attribute names.

PACKAGE_SEALED

public static final Attributes.Name PACKAGE_SEALED
Some predefined attribute names.

CONTENT_TYPE

public static final Attributes.Name CONTENT_TYPE
Some predefined attribute names.

CLASS_PATH

public static final Attributes.Name CLASS_PATH
Some predefined attribute names.

MAIN_CLASS

public static final Attributes.Name MAIN_CLASS
Some predefined attribute names.

IMPLEMENTATION_TITLE

public static final Attributes.Name IMPLEMENTATION_TITLE
Some predefined attribute names.

IMPLEMENTATION_VERSION

public static final Attributes.Name IMPLEMENTATION_VERSION
Some predefined attribute names.

IMPLEMENTATION_VENDOR

public static final Attributes.Name IMPLEMENTATION_VENDOR
Some predefined attribute names.

SPECIFICATION_TITLE

public static final Attributes.Name SPECIFICATION_TITLE
Some predefined attribute names.

SPECIFICATION_VERSION

public static final Attributes.Name SPECIFICATION_VERSION
Some predefined attribute names.

SPECIFICATION_VENDOR

public static final Attributes.Name SPECIFICATION_VENDOR
Some predefined attribute names.
Constructor Detail

Attributes.Name

public Attributes.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 Detail

equals

public boolean equals(Object o)
Compares this attribute name to another for equality.
Parameters:
o - the object to compare
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

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

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.