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)
- Specified by:
init
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
getResourceStream
public InputStream getResourceStream(String name)
throws org.apache.velocity.exception.ResourceNotFoundException
- Specified by:
getResourceStream
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
org.apache.velocity.exception.ResourceNotFoundException
isSourceModified
public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
- Specified by:
isSourceModified
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
getLastModified
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
- Specified by:
getLastModified
in class org.apache.velocity.runtime.resource.loader.ResourceLoader