public class CamelVelocityClasspathResourceLoader
extends org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
ClasspathResourceLoader that loads resources using the
Camel ClassResolver used by the Velocity.| Constructor and Description |
|---|
CamelVelocityClasspathResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getResourceStream(String name) |
void |
init(org.apache.commons.collections.ExtendedProperties configuration) |
getLastModified, isSourceModifiedpublic CamelVelocityClasspathResourceLoader()
public void init(org.apache.commons.collections.ExtendedProperties configuration)
init in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoaderpublic InputStream getResourceStream(String name) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionApache Camel