public abstract class ResourceLoaderWrapper
extends org.apache.velocity.runtime.resource.loader.ResourceLoader
This class will also update the internal state of the delegating resource loader to reflect any mutation of the wrapped loader.
| Constructor and Description |
|---|
ResourceLoaderWrapper(org.apache.velocity.runtime.resource.loader.ResourceLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
commonInit(org.apache.velocity.runtime.RuntimeServices runtimeServices,
org.apache.commons.collections.ExtendedProperties extendedProperties) |
org.apache.velocity.runtime.resource.loader.ResourceLoader |
getBaseResourceLoader() |
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource) |
long |
getModificationCheckInterval() |
InputStream |
getResourceStream(String resourceName) |
void |
init(org.apache.commons.collections.ExtendedProperties extendedProperties) |
boolean |
isCachingOn() |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
void |
setCachingOn(boolean cachingOn) |
void |
setModificationCheckInterval(long ms) |
String |
toString() |
public ResourceLoaderWrapper(org.apache.velocity.runtime.resource.loader.ResourceLoader resourceLoader)
public void init(org.apache.commons.collections.ExtendedProperties extendedProperties)
init in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified 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 isCachingOn()
isCachingOn in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic void setCachingOn(boolean cachingOn)
setCachingOn in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic void setModificationCheckInterval(long ms)
setModificationCheckInterval in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic long getModificationCheckInterval()
getModificationCheckInterval in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic void commonInit(org.apache.velocity.runtime.RuntimeServices runtimeServices,
org.apache.commons.collections.ExtendedProperties extendedProperties)
commonInit in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic InputStream getResourceStream(String resourceName) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream in class org.apache.velocity.runtime.resource.loader.ResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionpublic org.apache.velocity.runtime.resource.loader.ResourceLoader getBaseResourceLoader()
Copyright © 2003–2022 Atlassian. All rights reserved.