public final class Extension
extends java.lang.Object
In addition, static utility methods are available to scan a manifest and return an array of either available or required optional modules documented in that manifest.
For more information about optional packages, see the document
Optional Package Versioning in the documentation bundle for your
Java2 Standard Edition package, in file
guide/extensions/versioning.html
.
Constructor and Description |
---|
Extension() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtensionName() |
java.lang.String |
getImplementationURL() |
java.lang.String |
getImplementationVendor() |
java.lang.String |
getImplementationVendorId() |
java.lang.String |
getImplementationVersion() |
java.lang.String |
getSpecificationVendor() |
java.lang.String |
getSpecificationVersion() |
boolean |
isCompatibleWith(Extension required)
Return
true if the specified Extension
(which represents an optional package required by this application)
is satisfied by this Extension (which represents an
optional package that is already installed. |
boolean |
isFulfilled() |
void |
setExtensionName(java.lang.String extensionName) |
void |
setFulfilled(boolean fulfilled) |
void |
setImplementationURL(java.lang.String implementationURL) |
void |
setImplementationVendor(java.lang.String implementationVendor) |
void |
setImplementationVendorId(java.lang.String implementationVendorId) |
void |
setImplementationVersion(java.lang.String implementationVersion) |
void |
setSpecificationVendor(java.lang.String specificationVendor) |
void |
setSpecificationVersion(java.lang.String specificationVersion) |
java.lang.String |
toString()
Return a String representation of this object.
|
public java.lang.String getExtensionName()
public void setExtensionName(java.lang.String extensionName)
public java.lang.String getImplementationURL()
public void setImplementationURL(java.lang.String implementationURL)
public java.lang.String getImplementationVendor()
public void setImplementationVendor(java.lang.String implementationVendor)
public java.lang.String getImplementationVendorId()
public void setImplementationVendorId(java.lang.String implementationVendorId)
public java.lang.String getImplementationVersion()
public void setImplementationVersion(java.lang.String implementationVersion)
public java.lang.String getSpecificationVendor()
public void setSpecificationVendor(java.lang.String specificationVendor)
public java.lang.String getSpecificationVersion()
public void setSpecificationVersion(java.lang.String specificationVersion)
public void setFulfilled(boolean fulfilled)
public boolean isFulfilled()
public boolean isCompatibleWith(Extension required)
true
if the specified Extension
(which represents an optional package required by this application)
is satisfied by this Extension
(which represents an
optional package that is already installed. Otherwise, return
false
.required
- Extension of the required optional packagepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.