vdoclet
Class GeneratorResourceLoader
java.lang.Object
org.apache.velocity.runtime.resource.loader.ResourceLoader
vdoclet.GeneratorResourceLoader
- public class GeneratorResourceLoader
- extends org.apache.velocity.runtime.resource.loader.ResourceLoader
This is a variant of the standard ClasspathResourceLoader. The
difference is that the ClassLoader used is configurable.
Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader |
className, isCachingOn, modificationCheckInterval, rsvc |
Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader |
commonInit, getClassName, getModificationCheckInterval, isCachingOn, setCachingOn, setModificationCheckInterval |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratorResourceLoader
public GeneratorResourceLoader()
init
public void init(org.apache.commons.collections.ExtendedProperties configuration)
getResourceStream
public InputStream getResourceStream(String name)
throws org.apache.velocity.exception.ResourceNotFoundException
- Throws:
org.apache.velocity.exception.ResourceNotFoundException
isSourceModified
public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)