|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.info.DefaultPackageInfo
public class DefaultPackageInfo
A default implementation of PackageInfo.
| Constructor Summary | |
|---|---|
DefaultPackageInfo()
Constructs a new package info. |
|
DefaultPackageInfo(String pckage)
Constructs a new package info for a named package. |
|
| Method Summary | |
|---|---|
String |
getImplementationTitle()
Gets the implementation title of the current package. |
String |
getImplementationTitle(String packageName)
Gets the implementation title of the specified package. |
String |
getImplementationVendor()
Gets the implementation vendor of the current package. |
String |
getImplementationVendor(String packageName)
Gets the implementation vendor of the specified package. |
String |
getImplementationVersion()
Gets the implementation version of the current package. |
String |
getImplementationVersion(String packageName)
Gets the implementation version of the specified package. |
String |
getPackageName()
Gets the name of the current package. |
String |
getPackageSpecification()
Gets the package specification. |
String |
getSpecificationTitle()
Gets the specification title of the current package. |
String |
getSpecificationTitle(String packageName)
Gets the specification title of the specified package. |
String |
getSpecificationVendor()
Gets the specification vendor of the current package. |
String |
getSpecificationVendor(String packageName)
Gets the specification vendor of the specified package. |
String |
getSpecificationVersion()
Gets the specification version of the current package. |
String |
getSpecificationVersion(String packageName)
Gets the implementation title of the specified package. |
boolean |
isCompatibleWith(String desired)
Compares the specification version of the package. |
boolean |
isSealed()
Checks whether the package is sealed. |
List |
packageList()
Returns a list of all packages. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPackageInfo()
public DefaultPackageInfo(String pckage)
pckage - the name of the package.| Method Detail |
|---|
public String getPackageName()
PackageInfo
getPackageName in interface PackageInfopublic String getImplementationTitle()
PackageInfo
getImplementationTitle in interface PackageInfopublic String getImplementationVendor()
PackageInfo
getImplementationVendor in interface PackageInfopublic String getImplementationVersion()
PackageInfo
getImplementationVersion in interface PackageInfopublic String getSpecificationTitle()
PackageInfo
getSpecificationTitle in interface PackageInfopublic String getSpecificationVendor()
PackageInfo
getSpecificationVendor in interface PackageInfopublic String getSpecificationVersion()
PackageInfo
getSpecificationVersion in interface PackageInfopublic String getPackageSpecification()
PackageInfo
getPackageSpecification in interface PackageInfopublic boolean isSealed()
PackageInfo
isSealed in interface PackageInfopublic boolean isCompatibleWith(String desired)
PackageInfo
isCompatibleWith in interface PackageInfodesired - the desired version.
public String getImplementationTitle(String packageName)
PackageInfo
getImplementationTitle in interface PackageInfopackageName - the package name.
public String getImplementationVendor(String packageName)
PackageInfo
getImplementationVendor in interface PackageInfopackageName - the package name.
public String getImplementationVersion(String packageName)
PackageInfo
getImplementationVersion in interface PackageInfopackageName - the package name.
public String getSpecificationTitle(String packageName)
PackageInfo
getSpecificationTitle in interface PackageInfopackageName - the package name.
public String getSpecificationVendor(String packageName)
PackageInfo
getSpecificationVendor in interface PackageInfopackageName - the package name.
public String getSpecificationVersion(String packageName)
PackageInfo
getSpecificationVersion in interface PackageInfopackageName - the package name.
public List packageList()
PackageInfo
packageList in interface PackageInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||