public class StandardConfigDataLoader extends java.lang.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 java.io.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 skippedjava.io.IOException
- on IO errorConfigDataResourceNotFoundException
- if the resource cannot be foundConfigDataNotFoundException