nl.knowledgeplaza.util.configuration
Class ConfigurationProviderAbstract
java.lang.Object
nl.knowledgeplaza.util.configuration.ConfigurationProviderAbstract
- Direct Known Subclasses:
- ConfigurationProviderMainArgs, ConfigurationProviderPropertyFile, ConfigurationProviderSystemProperties, ConfigurationProviderXmlFile
public abstract class ConfigurationProviderAbstract
- extends Object
|
Field Summary |
protected static org.apache.log4j.Logger |
log4j
|
protected static org.apache.log4j.Logger |
log4jHit
|
protected static org.apache.log4j.Logger |
log4jTrace
|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
log4j
protected static org.apache.log4j.Logger log4j
log4jHit
protected static org.apache.log4j.Logger log4jHit
log4jTrace
protected static org.apache.log4j.Logger log4jTrace
ConfigurationProviderAbstract
public ConfigurationProviderAbstract(Configuration configuration)
getConfiguration
protected Configuration getConfiguration()
- Configuration
findUrls
public static List<URL> findUrls(Configuration configuration,
String suffix)
- search and read the property files with all kind of mutaties of the identifiers in the filename, like _systemname or _username.
- Parameters:
suffix - without . (e.g. properties or xml)
get
public abstract String get(String propertyName)
getCollection
public abstract Map<String,String> getCollection(String prefix)
describe
public abstract String describe()
Copyright © 2011 KnowledgePlaza. All Rights Reserved.