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
|
Field Summary |
static java.lang.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 java.lang.String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
ConfigurationProviderPropertyFile
public ConfigurationProviderPropertyFile(Configuration configuration,
java.net.URL url)
- create and initialize with default settings
getURL
public java.net.URL getURL()
- URL
setURL
public void setURL(java.net.URL value)
withURL
public ConfigurationProviderPropertyFile withURL(java.net.URL value)
findProviders
public static java.util.List<ConfigurationProviderAbstract> findProviders(Configuration configuration)
get
public java.lang.String get(java.lang.String propertyName)
- Specified by:
get in class ConfigurationProviderAbstract
getCollection
public java.util.Map<java.lang.String,java.lang.String> getCollection(java.lang.String prefix)
- Specified by:
getCollection in class ConfigurationProviderAbstract
describe
public java.lang.String describe()
- Specified by:
describe in class ConfigurationProviderAbstract
Copyright © 2010 KnowledgePlaza. All Rights Reserved.