org.apache.camel.component
Class CamelResourceLoader
java.lang.Object
org.springframework.core.io.DefaultResourceLoader
org.apache.camel.component.CamelResourceLoader
- All Implemented Interfaces:
- ResourceLoader
public class CamelResourceLoader
- extends DefaultResourceLoader
A Camel specific ResourceLoader
which can load
resources from classpath using the Camel ClassResolver
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelResourceLoader
public CamelResourceLoader(org.apache.camel.CamelContext camelContext)
getResource
public Resource getResource(String location)
- Specified by:
getResource
in interface ResourceLoader
- Overrides:
getResource
in class DefaultResourceLoader
getResourceByPath
protected Resource getResourceByPath(String path)
- Overrides:
getResourceByPath
in class DefaultResourceLoader
Apache CAMEL