public class MCFVelocityResourceLoader
extends org.apache.velocity.runtime.resource.loader.ResourceLoader
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class |
classInstance |
| Constructor and Description |
|---|
MCFVelocityResourceLoader(java.lang.Class classInstance)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource) |
java.io.Reader |
getResourceReader(java.lang.String source,
java.lang.String encoding) |
java.io.InputStream |
getResourceStream(java.lang.String source) |
void |
init(org.apache.velocity.util.ExtProperties configurations) |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
public MCFVelocityResourceLoader(java.lang.Class classInstance)
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic java.io.Reader getResourceReader(java.lang.String source,
java.lang.String encoding)
throws org.apache.velocity.exception.ResourceNotFoundException
getResourceReader in class org.apache.velocity.runtime.resource.loader.ResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionpublic java.io.InputStream getResourceStream(java.lang.String source)
throws org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.ResourceNotFoundExceptionpublic void init(org.apache.velocity.util.ExtProperties configurations)
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.ResourceLoader