public class ConfigTreeConfigDataLoader extends java.lang.Object implements ConfigDataLoader<ConfigTreeConfigDataResource>
ConfigDataLoader
for config tree locations.Constructor and Description |
---|
ConfigTreeConfigDataLoader() |
Modifier and Type | Method and Description |
---|---|
ConfigData |
load(ConfigDataLoaderContext context,
ConfigTreeConfigDataResource resource)
Load
ConfigData for the given resource. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isLoadable
public ConfigData load(ConfigDataLoaderContext context, ConfigTreeConfigDataResource resource) throws java.io.IOException, ConfigDataResourceNotFoundException
ConfigDataLoader
ConfigData
for the given resource.load
in interface ConfigDataLoader<ConfigTreeConfigDataResource>
context
- the loader contextresource
- the resource to loadnull
if the location should be skippedjava.io.IOException
- on IO errorConfigDataResourceNotFoundException
- if the resource cannot be found