nl.knowledgeplaza.util.configuration
Class ConfigurationProviderPropertyFile
java.lang.Object
nl.knowledgeplaza.util.configuration.ConfigurationProviderAbstract
nl.knowledgeplaza.util.configuration.ConfigurationProviderPropertyFile
public class ConfigurationProviderPropertyFile
- extends ConfigurationProviderAbstract
Read configuration data from a property file.
This reads ALL files it can find on the classpath.
This uses the Properties class to allow filtering and encryption.
- Author:
- toeu
| 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
ConfigurationProviderPropertyFile
public ConfigurationProviderPropertyFile(Configuration configuration,
URL url)
- create and initialize with default settings
getURL
public URL getURL()
- URL
setURL
public void setURL(URL value)
withURL
public ConfigurationProviderPropertyFile withURL(URL value)
findProviders
public static List<ConfigurationProviderAbstract> findProviders(Configuration configuration)
get
public String get(String propertyName)
- Specified by:
get in class ConfigurationProviderAbstract
getCollection
public Map<String,String> getCollection(String prefix)
- Specified by:
getCollection in class ConfigurationProviderAbstract
describe
public String describe()
- Specified by:
describe in class ConfigurationProviderAbstract
Copyright © 2011 KnowledgePlaza. All Rights Reserved.