public class ProjectResourceLoader extends ResourceLoader
className, isCachingOn, log, modificationCheckInterval, rsvc| Constructor and Description |
|---|
ProjectResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModified(Resource resource) |
InputStream |
getResourceStream(String templateName)
Get an InputStream so that the Runtime can build a template with it.
|
void |
init(org.apache.commons.collections.ExtendedProperties configuration) |
boolean |
isSourceModified(Resource resource)
How to keep track of all the modified times across the paths.
|
commonInit, getClassName, getModificationCheckInterval, isCachingOn, resourceExists, setCachingOn, setModificationCheckIntervalpublic void init(org.apache.commons.collections.ExtendedProperties configuration)
init in class ResourceLoaderpublic InputStream getResourceStream(String templateName) throws ResourceNotFoundException
getResourceStream in class ResourceLoadertemplateName - name of template to getResourceNotFoundException - if template not found in the file template path.public boolean isSourceModified(Resource resource)
isSourceModified in class ResourceLoaderpublic long getLastModified(Resource resource)
getLastModified in class ResourceLoaderCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.