java.util.jar
Class Attributes.Name
java.lang.Object
java.util.jar.Attributes.Name
- Enclosing class:
- Attributes
public static class Attributes.Name
- extends Object
|
Method Summary |
boolean |
equals(Object an)
Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison. |
int |
hashCode()
Returns an integer hash code for the receiver. |
String |
toString()
Returns a string containing a concise, human-readable description of the
receiver. |
CLASS_PATH
public static final Attributes.Name CLASS_PATH
MANIFEST_VERSION
public static final Attributes.Name MANIFEST_VERSION
MAIN_CLASS
public static final Attributes.Name MAIN_CLASS
SIGNATURE_VERSION
public static final Attributes.Name SIGNATURE_VERSION
CONTENT_TYPE
public static final Attributes.Name CONTENT_TYPE
SEALED
public static final Attributes.Name SEALED
IMPLEMENTATION_TITLE
public static final Attributes.Name IMPLEMENTATION_TITLE
IMPLEMENTATION_VERSION
public static final Attributes.Name IMPLEMENTATION_VERSION
IMPLEMENTATION_VENDOR
public static final Attributes.Name IMPLEMENTATION_VENDOR
SPECIFICATION_TITLE
public static final Attributes.Name SPECIFICATION_TITLE
SPECIFICATION_VERSION
public static final Attributes.Name SPECIFICATION_VERSION
SPECIFICATION_VENDOR
public static final Attributes.Name SPECIFICATION_VENDOR
EXTENSION_LIST
public static final Attributes.Name EXTENSION_LIST
EXTENSION_NAME
public static final Attributes.Name EXTENSION_NAME
EXTENSION_INSTALLATION
public static final Attributes.Name EXTENSION_INSTALLATION
IMPLEMENTATION_VENDOR_ID
public static final Attributes.Name IMPLEMENTATION_VENDOR_ID
IMPLEMENTATION_URL
public static final Attributes.Name IMPLEMENTATION_URL
Attributes.Name
public Attributes.Name(String s)
toString
public String toString()
- Description copied from class:
Object
- Returns a string containing a concise, human-readable description of the
receiver.
- Overrides:
toString in class Object
- Returns:
- String a printable representation for the receiver.
equals
public boolean equals(Object an)
- Description copied from class:
Object
- Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison. The
implementation in Object returns true only if the argument is the exact
same object as the receiver (==).
- Overrides:
equals in class Object
- Parameters:
an - Object the object to compare with this object.
- Returns:
- boolean
true if the object is the same as this
object false if it is different from this object. - See Also:
Object.hashCode()
hashCode
public int hashCode()
- Description copied from class:
Object
- Returns an integer hash code for the receiver. Any two objects which
answer
true when passed to .equals must
answer the same value for this method.
- Overrides:
hashCode in class Object
- Returns:
- int the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
Please submit a feedback, bug or feature