public class CustomResourceLoader extends org.apache.velocity.runtime.resource.loader.ResourceLoader
| Constructor and Description |
|---|
CustomResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
commonInit(org.apache.velocity.runtime.RuntimeServices rs,
org.apache.commons.collections.ExtendedProperties configuration) |
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource) |
static java.util.HashMap<java.lang.String,java.lang.String> |
getResources() |
java.io.InputStream |
getResourceStream(java.lang.String name) |
void |
init(org.apache.commons.collections.ExtendedProperties configuration) |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
static void |
setResources(java.util.HashMap<java.lang.String,java.lang.String> arg0) |
public CustomResourceLoader()
public void commonInit(org.apache.velocity.runtime.RuntimeServices rs, org.apache.commons.collections.ExtendedProperties configuration)
commonInit in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic void init(org.apache.commons.collections.ExtendedProperties configuration)
init in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic java.io.InputStream getResourceStream(java.lang.String name) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream in class org.apache.velocity.runtime.resource.loader.ResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionpublic boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
isSourceModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic static java.util.HashMap<java.lang.String,java.lang.String> getResources()
public static void setResources(java.util.HashMap<java.lang.String,java.lang.String> arg0)
Copyright © 2005-2012. All Rights Reserved.