|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.argval.packageinfo.AbstractPackageInfo net.sourceforge.argval.manifestinfo.impl.ManifestInfoAsPackageInfo
public class ManifestInfoAsPackageInfo
Field Summary |
---|
Fields inherited from interface net.sourceforge.argval.packageinfo.PackageInfo |
---|
UNKNOWN_PACKAGE_TITLE, UNKNOWN_VERSION |
Constructor Summary | |
---|---|
ManifestInfoAsPackageInfo(File jarPath,
Manifest manifest)
|
Method Summary | |
---|---|
void |
accept(ManifestInfoVisitor visitor)
|
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. |
File |
getJarPath()
|
String |
getMainAttribute(Attributes.Name attributeName)
|
Manifest |
getManifest()
|
Set<String> |
getNameSet()
Returns all the package names associated with this Package . |
PackageInfo |
getPackageInfo()
|
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 ManifestInfoAsPackageInfo(File jarPath, Manifest manifest)
Method Detail |
---|
public File getJarPath()
getJarPath
in interface ManifestInfo
public Manifest getManifest()
getManifest
in interface ManifestInfo
public PackageInfo getPackageInfo()
getPackageInfo
in interface ManifestInfo
public void addPackageName(String name)
PackageInfo
net.sourceforge.argval.packageinfo
).
addPackageName
in interface PackageInfo
name
- The name of the package.public String getSpecificationTitle()
ManifestInfo
getSpecificationTitle
in interface ManifestInfo
getSpecificationTitle
in interface PackageInfo
public String getSpecificationVendor()
ManifestInfo
getSpecificationVendor
in interface ManifestInfo
getSpecificationVendor
in interface PackageInfo
public String getSpecificationVersion()
ManifestInfo
getSpecificationVersion
in interface ManifestInfo
getSpecificationVersion
in interface PackageInfo
public String getImplementationTitle()
PackageInfo
getImplementationTitle
in interface PackageInfo
public String getImplementationVendor()
PackageInfo
getImplementationVendor
in interface PackageInfo
public String getImplementationVersion()
PackageInfo
getImplementationVersion
in interface PackageInfo
public Set<String> getNameSet()
PackageInfo
Package
.
getNameSet
in interface PackageInfo
Package
.public void accept(ManifestInfoVisitor visitor)
accept
in interface ManifestInfoVisitorAcceptor
public String getMainAttribute(Attributes.Name attributeName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |