public class LiferayResourceLoader
extends org.apache.velocity.runtime.resource.loader.ResourceLoader
| Constructor and Description |
|---|
LiferayResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.InputStream |
doGetResourceStream(java.lang.String source) |
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource) |
java.io.InputStream |
getResourceStream(java.lang.String source) |
void |
init(org.apache.commons.collections.ExtendedProperties extendedProperties) |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
boolean |
resourceExists(java.lang.String resourceName) |
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic java.io.InputStream getResourceStream(java.lang.String source)
throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream in class org.apache.velocity.runtime.resource.loader.ResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionpublic void init(org.apache.commons.collections.ExtendedProperties extendedProperties)
init in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
isSourceModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic boolean resourceExists(java.lang.String resourceName)
resourceExists in class org.apache.velocity.runtime.resource.loader.ResourceLoaderprotected java.io.InputStream doGetResourceStream(java.lang.String source)
throws org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.ResourceNotFoundException