public final class Extension extends 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 |
---|---|
String |
getExtensionName() |
String |
getImplementationURL() |
String |
getImplementationVendor() |
String |
getImplementationVendorId() |
String |
getImplementationVersion() |
String |
getSpecificationVendor() |
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(String extensionName) |
void |
setFulfilled(boolean fulfilled) |
void |
setImplementationURL(String implementationURL) |
void |
setImplementationVendor(String implementationVendor) |
void |
setImplementationVendorId(String implementationVendorId) |
void |
setImplementationVersion(String implementationVersion) |
void |
setSpecificationVendor(String specificationVendor) |
void |
setSpecificationVersion(String specificationVersion) |
String |
toString() |
public String getExtensionName()
public void setExtensionName(String extensionName)
public String getImplementationURL()
public void setImplementationURL(String implementationURL)
public String getImplementationVendor()
public void setImplementationVendor(String implementationVendor)
public String getImplementationVendorId()
public void setImplementationVendorId(String implementationVendorId)
public String getImplementationVersion()
public void setImplementationVersion(String implementationVersion)
public String getSpecificationVendor()
public void setSpecificationVendor(String specificationVendor)
public String getSpecificationVersion()
public void setSpecificationVersion(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 packagetrue
if the extension is satisfiedCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.