org.apache.camel.component
Class CamelResourceLoader
java.lang.Object
org.springframework.core.io.DefaultResourceLoader
org.apache.camel.component.CamelResourceLoader
- All Implemented Interfaces:
- ResourceLoader
Deprecated. use ResourceEndpoint
. Will be removed in Camel 3.0.
@Deprecated
public class CamelResourceLoader
- extends DefaultResourceLoader
A Camel specific ResourceLoader
which can load
resources from classpath using the Camel ClassResolver
.
Constructor Summary |
CamelResourceLoader(org.apache.camel.CamelContext camelContext)
Deprecated. |
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)
- Deprecated.
getResource
public Resource getResource(String location)
- Deprecated.
- Specified by:
getResource
in interface ResourceLoader
- Overrides:
getResource
in class DefaultResourceLoader
getResourceByPath
protected Resource getResourceByPath(String path)
- Deprecated.
- Overrides:
getResourceByPath
in class DefaultResourceLoader
Apache CAMEL