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.ResourceLoader
public java.io.InputStream getResourceStream(java.lang.String source) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
org.apache.velocity.exception.ResourceNotFoundException
public void init(org.apache.commons.collections.ExtendedProperties extendedProperties)
init
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
isSourceModified
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
public boolean resourceExists(java.lang.String resourceName)
resourceExists
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
protected java.io.InputStream doGetResourceStream(java.lang.String source) throws org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.ResourceNotFoundException