public class StandardConfigDataLoader extends Object implements ConfigDataLoader<StandardConfigDataResource>
ConfigDataLoader
for Resource
backed locations.Constructor and Description |
---|
StandardConfigDataLoader() |
Modifier and Type | Method and Description |
---|---|
ConfigData |
load(ConfigDataLoaderContext context,
StandardConfigDataResource resource)
Load
ConfigData for the given resource. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isLoadable
public ConfigData load(ConfigDataLoaderContext context, StandardConfigDataResource resource) throws IOException, ConfigDataNotFoundException
ConfigDataLoader
ConfigData
for the given resource.load
in interface ConfigDataLoader<StandardConfigDataResource>
context
- the loader contextresource
- the resource to loadnull
if the location should be skippedIOException
- on IO errorConfigDataResourceNotFoundException
- if the resource cannot be foundConfigDataNotFoundException