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, isSourceModified
public CamelVelocityClasspathResourceLoader()
public void init(org.apache.commons.collections.ExtendedProperties configuration)
init
in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
public InputStream getResourceStream(String name) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream
in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
org.apache.velocity.exception.ResourceNotFoundException
Apache Camel