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