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 |
|---|---|
Reader |
getResourceReader(String name,
String encoding) |
void |
init(org.apache.velocity.util.ExtProperties configuration) |
getLastModified, isSourceModifiedpublic CamelVelocityClasspathResourceLoader()
public void init(org.apache.velocity.util.ExtProperties configuration)
init in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoaderpublic Reader getResourceReader(String name, String encoding) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceReader in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionApache Camel