public abstract class AbstractPropertiesConfigurationSource extends Object implements net.stickycode.configuration.ConfigurationSource
| Constructor and Description |
|---|
AbstractPropertiesConfigurationSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(net.stickycode.configuration.ConfigurationKey key,
net.stickycode.configuration.ResolvedConfiguration values) |
protected abstract net.stickycode.configuration.ConfigurationValue |
createValue(String value)
Factory for creating values that a defined in the given properties file
|
protected String |
getValue(String key) |
protected boolean |
hasValue(String key) |
protected void |
loadUrl(URL url) |
protected void |
propertyReplacedDuringLoad(URL url,
String key,
String property,
String previous)
Template method for situations where a property has been overwritten i.e.
|
String |
toString() |
public AbstractPropertiesConfigurationSource()
protected abstract net.stickycode.configuration.ConfigurationValue createValue(String value)
protected boolean hasValue(String key)
protected void loadUrl(URL url)
protected void propertyReplacedDuringLoad(URL url, String key, String property, String previous)
public void apply(net.stickycode.configuration.ConfigurationKey key,
net.stickycode.configuration.ResolvedConfiguration values)
apply in interface net.stickycode.configuration.ConfigurationSourceCopyright © 2008–2016 RedEngine Ltd. All rights reserved.