org.codehaus.plexus.velocity
Class SiteResourceLoader
ResourceLoaderorg.codehaus.plexus.velocity.SiteResourceLoader
public class SiteResourceLoader
extends ResourceLoader
Alloww you to dynamically add resources that you want to be processed by Velocity. For
example if you want ot generate a site and pull in some random files to be interpolated
by Velocity you can use this resource loader.
getLastModified
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getResourceStream
public InputStream getResourceStream(String name)
throws ResourceNotFoundException
init
public void init(ExtendedProperties p)
isSourceModified
public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
setResource
public static void setResource(String staticResource)