Name
open class Name
| kotlin.Any | |
| ↳ | java.util.jar.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.
Summary
| Public constructors | |
|---|---|
|
Constructs a new attribute name using the given string name. |
|
| Public methods | |
|---|---|
| open Boolean |
Compares this attribute name to another for equality. |
| open Int |
hashCode()Computes the hash value for this attribute name. |
| open String |
toString()Returns the attribute name as a String. |
| Properties | |
|---|---|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
| static Attributes.Name! |
|
Public constructors
Name
Name(name: String!)
Constructs a new attribute name using the given string name.
| Parameters | |
|---|---|
name |
String!: the attribute string name |
| Exceptions | |
|---|---|
java.lang.IllegalArgumentException |
if the attribute name was invalid |
java.lang.NullPointerException |
if the attribute name was null |
Public methods
equals
open fun equals(other: Any?): Boolean
Compares this attribute name to another for equality.
| Parameters | |
|---|---|
obj |
the reference object with which to compare. |
o |
the object to compare |
| Return | |
|---|---|
Boolean |
true if this attribute name is equal to the specified attribute object |
hashCode
open fun hashCode(): Int
Computes the hash value for this attribute name.
| Return | |
|---|---|
Int |
a hash code value for this object. |
toString
open fun toString(): String
Returns the attribute name as a String.
| Return | |
|---|---|
String |
a string representation of the object. |
Properties
CLASS_PATH
static val CLASS_PATH: Attributes.Name!
Name object for Class-Path manifest attribute.
See Also
CONTENT_TYPE
static val CONTENT_TYPE: Attributes.Name!
Name object for Content-Type manifest attribute.
EXTENSION_INSTALLATION
static valEXTENSION_INSTALLATION: Attributes.Name!
Deprecated: Extension mechanism is no longer supported.
Name object for Extension-Installation manifest attribute.
EXTENSION_LIST
static val EXTENSION_LIST: Attributes.Name!
Name object for Extension-List manifest attribute used for the extension mechanism that is no longer supported.
EXTENSION_NAME
static val EXTENSION_NAME: Attributes.Name!
Name object for Extension-Name manifest attribute used for the extension mechanism that is no longer supported.
IMPLEMENTATION_TITLE
static val IMPLEMENTATION_TITLE: Attributes.Name!
Name object for Implementation-Title manifest attribute used for package versioning.
IMPLEMENTATION_URL
static valIMPLEMENTATION_URL: Attributes.Name!
Deprecated: Extension mechanism is no longer supported.
Name object for Implementation-URL manifest attribute.
IMPLEMENTATION_VENDOR
static val IMPLEMENTATION_VENDOR: Attributes.Name!
Name object for Implementation-Vendor manifest attribute used for package versioning.
IMPLEMENTATION_VENDOR_ID
static valIMPLEMENTATION_VENDOR_ID: Attributes.Name!
Deprecated: Extension mechanism is no longer supported.
Name object for Implementation-Vendor-Id manifest attribute.
IMPLEMENTATION_VERSION
static val IMPLEMENTATION_VERSION: Attributes.Name!
Name object for Implementation-Version manifest attribute used for package versioning.
MAIN_CLASS
static val MAIN_CLASS: Attributes.Name!
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.
MANIFEST_VERSION
static val MANIFEST_VERSION: Attributes.Name!
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
SEALED
static val SEALED: Attributes.Name!
Name object for Sealed manifest attribute used for sealing.
See Also
SIGNATURE_VERSION
static val SIGNATURE_VERSION: Attributes.Name!
Name object for Signature-Version manifest attribute used when signing JAR files.
See Also
SPECIFICATION_TITLE
static val SPECIFICATION_TITLE: Attributes.Name!
Name object for Specification-Title manifest attribute used for package versioning.
SPECIFICATION_VENDOR
static val SPECIFICATION_VENDOR: Attributes.Name!
Name object for Specification-Vendor manifest attribute used for package versioning.
SPECIFICATION_VERSION
static val SPECIFICATION_VERSION: Attributes.Name!
Name object for Specification-Version manifest attribute used for package versioning.