public class MCFVelocityResourceLoader
extends org.apache.velocity.runtime.resource.loader.ResourceLoader
| Modifier and Type | Field and Description |
|---|---|
protected Class |
classInstance |
| Constructor and Description |
|---|
MCFVelocityResourceLoader(Class classInstance)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource) |
InputStream |
getResourceStream(String source) |
void |
init(org.apache.commons.collections.ExtendedProperties configuration) |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
protected Class classInstance
public MCFVelocityResourceLoader(Class classInstance)
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic InputStream getResourceStream(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 configuration)
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