public class XDocReportEntryResourceLoader extends org.apache.velocity.runtime.resource.loader.ResourceLoader implements VelocityConstants
ResourceLoader implementation used to cache entry name of XDocArchive which
must be merged with Java model with velocity template engine.className, isCachingOn, log, modificationCheckInterval, rsvcDESCRIPTION_DISCOVERY, ID_DISCOVERY, VELOCITY_TEMPLATE_ENGINE_KEY| Constructor and Description |
|---|
XDocReportEntryResourceLoader() |
| 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) |
InputStream |
getResourceStream(String source) |
void |
init(org.apache.commons.collections.ExtendedProperties configuration) |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
boolean |
resourceExists(String resourceName)
Overrides superclass for better performance.
|
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 source) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream in class org.apache.velocity.runtime.resource.loader.ResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionpublic boolean resourceExists(String resourceName)
resourceExists 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.ResourceLoaderResourceLoader.isSourceModified(org.apache.velocity.runtime.resource.Resource)public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderResourceLoader.getLastModified(org.apache.velocity.runtime.resource.Resource)Copyright © 2015. All Rights Reserved.