|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.argval.packageinfo.AbstractPackageInfo
net.sourceforge.argval.packageinfo.impl.PackageInfoImpl
public class PackageInfoImpl
A helper class which stores once the Package details and contains a Set
containing all the related Java language package names (the dot separated package name
like net.sourceforge.argval.packageinfo ).
| Field Summary |
|---|
| Fields inherited from interface net.sourceforge.argval.packageinfo.PackageInfo |
|---|
UNKNOWN_PACKAGE_TITLE, UNKNOWN_VERSION |
| Constructor Summary | |
|---|---|
PackageInfoImpl()
Default constructor. |
|
PackageInfoImpl(Package pckg)
Creates PackageInfo based on the given Package, and
adds the package name to the internal Set of package names. |
|
PackageInfoImpl(String specTitle,
String specVendor,
String specVersion,
String implTitle,
String implVendor,
String implVersion)
Main constructor. |
|
| Method Summary | |
|---|---|
void |
addPackageName(String name)
Adds the name of the package from the Java language dot notation ( net.sourceforge.argval.packageinfo ). |
String |
getImplementationTitle()
Returns the implementation title. |
String |
getImplementationVendor()
Returns the implementation vendor. |
String |
getImplementationVersion()
Returns the implementation version. |
Set<String> |
getNameSet()
Returns all the package names assosiated with this Package. |
String |
getSpecificationTitle()
Returns the specification title. |
String |
getSpecificationVendor()
Returns the specification vendor. |
String |
getSpecificationVersion()
Returns the specification version. |
| Methods inherited from class net.sourceforge.argval.packageinfo.AbstractPackageInfo |
|---|
accept, getTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PackageInfoImpl()
public PackageInfoImpl(String specTitle,
String specVendor,
String specVersion,
String implTitle,
String implVendor,
String implVersion)
specTitle - The specification title.specVendor - The specification vendor.specVersion - The specification version.implTitle - The implementation title.implVendor - The implementation vendor.implVersion - The implementation version.public PackageInfoImpl(Package pckg)
Package, and
adds the package name to the internal Set of package names.
pckg - The Package instance.| Method Detail |
|---|
public String getImplementationTitle()
public String getImplementationVendor()
public String getImplementationVersion()
public String getSpecificationTitle()
public String getSpecificationVendor()
public String getSpecificationVersion()
public Set<String> getNameSet()
Package.
Package.public void addPackageName(String name)
net.sourceforge.argval.packageinfo ).
name - The name of the package.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||