vdoclet
Class GeneratorResourceLoader

java.lang.Object
  extended byorg.apache.velocity.runtime.resource.loader.ResourceLoader
      extended byvdoclet.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.


Field Summary
 
Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
className, isCachingOn, modificationCheckInterval, rsvc
 
Constructor Summary
GeneratorResourceLoader()
           
 
Method Summary
 long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
           
 InputStream getResourceStream(String name)
           
 void init(org.apache.commons.collections.ExtendedProperties configuration)
           
 boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
           
 
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
 

Constructor Detail

GeneratorResourceLoader

public GeneratorResourceLoader()
Method Detail

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)