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 HashMap<String,String> |
getResources() |
InputStream |
getResourceStream(String name) |
void |
init(org.apache.commons.collections.ExtendedProperties configuration) |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
static void |
setResources(HashMap<String,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 InputStream getResourceStream(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 HashMap<String,String> getResources()
public static void setResources(HashMap<String,String> arg0)
Copyright © 2005–2017. All rights reserved.