net.sourceforge.argval.manifestinfo.impl
Class ManifestInfoManagerImpl
java.lang.Object
net.sourceforge.argval.manifestinfo.impl.ManifestInfoManagerImpl
- All Implemented Interfaces:
- ManifestInfoManager, ManifestInfoVisitorAcceptor, PackageInfoVisitorAcceptor
public final class ManifestInfoManagerImpl
- extends Object
- implements ManifestInfoManager, PackageInfoVisitorAcceptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.slf4j.Logger logger
- The logging instance.
manifestInfoMap
public Map<String,ManifestInfo> manifestInfoMap
- A Map containing the ManifestInfo instance, by their jar file name.
ManifestInfoManagerImpl
public ManifestInfoManagerImpl()
addJar
public void addJar(String classPath)
- Specified by:
addJar
in interface ManifestInfoManager
addJar
public void addJar(File path)
- Specified by:
addJar
in interface ManifestInfoManager
getManifestInfo
public ManifestInfo getManifestInfo(String regularExpression)
- Specified by:
getManifestInfo
in interface ManifestInfoManager
getAttributeValue
public String getAttributeValue(String regularExpression,
String name)
- Specified by:
getAttributeValue
in interface ManifestInfoManager
getAttributeValue
public String getAttributeValue(ManifestInfo manifestInfo,
String name)
- Specified by:
getAttributeValue
in interface ManifestInfoManager
addManifestInfo
public void addManifestInfo(ManifestInfo manifestInfo)
getManifestInfo
public ManifestInfo getManifestInfo(PackageInfo packageInfo)
- Specified by:
getManifestInfo
in interface ManifestInfoManager
equals
public boolean equals(String textA,
String textB)
getTitleSet
public Set<String> getTitleSet()
- Specified by:
getTitleSet
in interface ManifestInfoManager
accept
public void accept(PackageInfoVisitor visitor)
- Entry point for a
PackageInfoVisitor
which will visit all registered
ManifestInfo
instances as if they are PackageInfo
instances.
- Specified by:
accept
in interface PackageInfoVisitorAcceptor
- Parameters:
visitor
- The visitor.- See Also:
ManifestInfo.getPackageInfo()
accept
public void accept(ManifestInfoVisitor visitor)
- Entry point for a
ManifestInfoVisitor
which will visit all registered
ManifestInfo
instances.
- Specified by:
accept
in interface ManifestInfoVisitorAcceptor
- Parameters:
visitor
- The visitor.
Copyright © 2013 Verhagen Software. All Rights Reserved.