Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.util.jar
Class Attributes.Name

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

Enclosing class:
  Attributes

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` | `CLASS_PATH` `Name` object for `Class-Path` manifest attribute.
`static Attributes.Name` | `CONTENT_TYPE` `Name` object for `Content-Type` manifest attribute.
`static Attributes.Name` | `EXTENSION_INSTALLATION` `Name` object for `Extension-Name` manifest attribute used for declaring dependencies on installed extensions.
`static Attributes.Name` | `EXTENSION_LIST` `Name` object for `Extension-List` manifest attribute used for declaring dependencies on installed extensions.
`static Attributes.Name` | `EXTENSION_NAME` `Name` object for `Extension-Name` manifest attribute used for declaring dependencies on installed extensions.
`static Attributes.Name` | `IMPLEMENTATION_TITLE` `Name` object for `Implementation-Title` manifest attribute used for package versioning.
`static Attributes.Name` | `IMPLEMENTATION_URL` `Name` object for `Implementation-Vendor-URL` manifest attribute used for package versioning.
`static Attributes.Name` | `IMPLEMENTATION_VENDOR` `Name` object for `Implementation-Vendor` manifest attribute used for package versioning.
`static Attributes.Name` | `IMPLEMENTATION_VENDOR_ID` `Name` object for `Implementation-Vendor-Id` manifest attribute used for package versioning.
`static Attributes.Name` | `IMPLEMENTATION_VERSION` `Name` object for `Implementation-Version` manifest attribute used for package versioning.
`static Attributes.Name` | `MAIN_CLASS` `Name` object for `Main-Class` manifest attribute used for launching applications packaged in JAR files.
`static Attributes.Name` | `MANIFEST_VERSION` `Name` object for `Manifest-Version` manifest attribute.
`static Attributes.Name` | `SEALED` `Name` object for `Sealed` manifest attribute used for sealing.
`static Attributes.Name` | `SIGNATURE_VERSION` `Name` object for `Signature-Version` manifest attribute used when signing JAR files.
`static Attributes.Name` | `SPECIFICATION_TITLE` `Name` object for `Specification-Title` manifest attribute used for package versioning.
`static Attributes.Name` | `SPECIFICATION_VENDOR` `Name` object for `Specification-Vendor` manifest attribute used for package versioning.
`static Attributes.Name` | `SPECIFICATION_VERSION` `Name` object for `Specification-Version` manifest attribute used for package versioning.

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

### MANIFEST_VERSION

    public static final Attributes.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.
  See Also:
    Manifest and Signature Specification

### SIGNATURE_VERSION

    public static final Attributes.Name SIGNATURE_VERSION

  `Name` object for `Signature-Version` manifest attribute used when signing JAR files.
  See Also:
    Manifest and Signature Specification

### CONTENT_TYPE

    public static final Attributes.Name CONTENT_TYPE

  `Name` object for `Content-Type` manifest attribute.

### CLASS_PATH

    public static final Attributes.Name CLASS_PATH

  `Name` object for `Class-Path` manifest attribute. Bundled extensions can use this attribute to find other JAR files containing needed classes.
  See Also:
    Extensions Specification

### MAIN_CLASS

    public static final Attributes.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.

### SEALED

    public static final Attributes.Name SEALED

  `Name` object for `Sealed` manifest attribute used for sealing.
  See Also:
    Extension Sealing

### EXTENSION_LIST

    public static final Attributes.Name EXTENSION_LIST

  `Name` object for `Extension-List` manifest attribute used for declaring dependencies on installed extensions.
  See Also:
    Installed extension dependency

### EXTENSION_NAME

    public static final Attributes.Name EXTENSION_NAME

  `Name` object for `Extension-Name` manifest attribute used for declaring dependencies on installed extensions.
  See Also:
    Installed extension dependency

### EXTENSION_INSTALLATION

    public static final Attributes.Name EXTENSION_INSTALLATION

  `Name` object for `Extension-Name` manifest attribute used for declaring dependencies on installed extensions.
  See Also:
    Installed extension dependency

### IMPLEMENTATION_TITLE

    public static final Attributes.Name IMPLEMENTATION_TITLE

  `Name` object for `Implementation-Title` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

### IMPLEMENTATION_VERSION

    public static final Attributes.Name IMPLEMENTATION_VERSION

  `Name` object for `Implementation-Version` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

### IMPLEMENTATION_VENDOR

    public static final Attributes.Name IMPLEMENTATION_VENDOR

  `Name` object for `Implementation-Vendor` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

### IMPLEMENTATION_VENDOR_ID

    public static final Attributes.Name IMPLEMENTATION_VENDOR_ID

  `Name` object for `Implementation-Vendor-Id` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

### IMPLEMENTATION_URL

    public static final Attributes.Name IMPLEMENTATION_URL

  `Name` object for `Implementation-Vendor-URL` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

### SPECIFICATION_TITLE

    public static final Attributes.Name SPECIFICATION_TITLE

  `Name` object for `Specification-Title` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

### SPECIFICATION_VERSION

    public static final Attributes.Name SPECIFICATION_VERSION

  `Name` object for `Specification-Version` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

### SPECIFICATION_VENDOR

    public static final Attributes.Name SPECIFICATION_VENDOR

  `Name` object for `Specification-Vendor` manifest attribute used for package versioning.
  See Also:
    Java Product Versioning Specification

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.
  Overrides:
    `equals` in class `Object`
  Parameters:
    `o` - the object to compare
  Returns:
    true if this attribute name is equal to the specified attribute object

### hashCode

    public int hashCode()

  Computes the hash value for this attribute name.
  Overrides:
    `hashCode` in class `Object`
  Following copied from class: `java.lang.Object`
  Returns:
    a hash code value for this object.
  See Also:
    `Object.equals(java.lang.Object)`, `Hashtable`

### toString

    public String toString()

  Returns the attribute name as a String.
  Overrides:
    `toString` in class `Object`
  Following copied from class: `java.lang.Object`
  Returns:
    a string representation of the object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved.