consciouscode.seedling.config.properties
Class PropertiesConfigLoader
java.lang.Object
consciouscode.seedling.config.properties.PropertiesConfigLoader
- All Implemented Interfaces:
- ConfigLoader
public class PropertiesConfigLoader
- extends Object
- implements ConfigLoader
Configuration loader for files with suffix ".properties"
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesConfigLoader
public PropertiesConfigLoader(PropertiesConfigEvaluator defaultEvaluator)
getDefaultEvaluator
public ConfigEvaluator getDefaultEvaluator()
nodeNameForResource
public String nodeNameForResource(String resourceName)
- Specified by:
nodeNameForResource
in interface ConfigLoader
loadConfigResource
public ConfigResource loadConfigResource(ResourceTree resources,
NodePath nodeAddress)
throws ConfigLoadingException
- Description copied from interface:
ConfigLoader
- Returns a configuration resource for a specified node, if one exists in
the given resource tree.
- Specified by:
loadConfigResource
in interface ConfigLoader
nodeAddress
- identifies the desired node. It must be a full path.
- Returns:
null
if no configuration resource exists for the
node within the resource tree.
- Throws:
ConfigLoadingException
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.