public static class Attributes.Name extends Object
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 Specificationfor more information about valid attribute names and values.
Name(String name)
Constructs a new attribute name using the given string name.
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.
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.
Name
object for Signature-Version
manifest attribute used when signing JAR files.
Name
object for Content-Type
manifest attribute.
Name
object for Class-Path
manifest attribute.
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.
Name
object for Sealed
manifest attribute used for sealing.
Name
object for Extension-List
manifest attribute used for the extension mechanism that is no longer supported.
Name
object for Extension-Name
manifest attribute used for the extension mechanism that is no longer supported.
Name
object for Extension-Installation
manifest attribute.
Name
object for Implementation-Title
manifest attribute used for package versioning.
Name
object for Implementation-Version
manifest attribute used for package versioning.
Name
object for Implementation-Vendor
manifest attribute used for package versioning.
Name
object for Implementation-Vendor-Id
manifest attribute.
Name
object for Implementation-URL
manifest attribute.
Name
object for Specification-Title
manifest attribute used for package versioning.
Name
object for Specification-Version
manifest attribute used for package versioning.
Name
object for Specification-Vendor
manifest attribute used for package versioning.
Name
object for Multi-Release
manifest attribute that indicates this is a multi-release JAR file.
Constructs a new attribute name using the given string name.
name
- the attribute string name
IllegalArgumentException
- if the attribute name was invalid
NullPointerException
- if the attribute name was null
(
Object o)Compares this attribute name to another for equality.
equals
in class Object
o
- the object to compare
Object.hashCode()
, HashMap
public int hashCode()
Computes the hash value for this attribute name.
hashCode
in class Object
Object.equals(java.lang.Object)
, System.identityHashCode(java.lang.Object)
Returns the attribute name as a String.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4