java.lang.Objectjava.util.jar.Attributes.Name
public static class Attributes.Name
The Attributes.Name class represents an attribute name stored in this Map. Valid attribute names are case-insensitive, are restricted to the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed 70 characters in length. Attribute values can contain any characters and will be UTF8-encoded when written to the output stream. See the JAR File Specification for more information about valid attribute names and values.
| 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 |
|---|
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.
public static final Attributes.Name SIGNATURE_VERSION
Name object for Signature-Version
manifest attribute used when signing JAR files.
public static final Attributes.Name CONTENT_TYPE
Name object for Content-Type
manifest attribute.
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.
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.
public static final Attributes.Name SEALED
Name object for Sealed manifest attribute
used for sealing.
public static final Attributes.Name EXTENSION_LIST
Name object for Extension-List manifest attribute
used for declaring dependencies on installed extensions.
public static final Attributes.Name EXTENSION_NAME
Name object for Extension-Name manifest attribute
used for declaring dependencies on installed extensions.
public static final Attributes.Name EXTENSION_INSTALLATION
Name object for Extension-Name manifest attribute
used for declaring dependencies on installed extensions.
public static final Attributes.Name IMPLEMENTATION_TITLE
Name object for Implementation-Title
manifest attribute used for package versioning.
public static final Attributes.Name IMPLEMENTATION_VERSION
Name object for Implementation-Version
manifest attribute used for package versioning.
public static final Attributes.Name IMPLEMENTATION_VENDOR
Name object for Implementation-Vendor
manifest attribute used for package versioning.
public static final Attributes.Name IMPLEMENTATION_VENDOR_ID
Name object for Implementation-Vendor-Id
manifest attribute used for package versioning.
public static final Attributes.Name IMPLEMENTATION_URL
Name object for Implementation-Vendor-URL
manifest attribute used for package versioning.
public static final Attributes.Name SPECIFICATION_TITLE
Name object for Specification-Title
manifest attribute used for package versioning.
public static final Attributes.Name SPECIFICATION_VERSION
Name object for Specification-Version
manifest attribute used for package versioning.
public static final Attributes.Name SPECIFICATION_VENDOR
Name object for Specification-Vendor
manifest attribute used for package versioning.
| Constructor Detail |
|---|
public Attributes.Name(String name)
name - the attribute string name
IllegalArgumentException - if the attribute name was
invalid
NullPointerException - if the attribute name was null| Method Detail |
|---|
public boolean equals(Object o)
o - the object to compare
Object.hashCode(),
Hashtablepublic int hashCode()
Object.equals(java.lang.Object),
Hashtablepublic String toString()
Ces informations proviennent du site de http://java.sun.com
Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :
Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.
Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.
Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.
Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.
Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.
Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.
9 mots clés dont 0 définis manuellement (plus d'information...).
Avertissement
Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.
Recherche (afficher)
Utilisateur (masquer)
Navigation (masquer)
Apparence (afficher)
Stats (afficher)
Citation (masquer)