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, setModificationCheckInterval
public void init(org.apache.commons.collections.ExtendedProperties configuration)
init
in class ResourceLoader
public InputStream getResourceStream(String templateName) throws ResourceNotFoundException
getResourceStream
in class ResourceLoader
templateName
- name of template to getResourceNotFoundException
- if template not found in the file template path.public boolean isSourceModified(Resource resource)
isSourceModified
in class ResourceLoader
public long getLastModified(Resource resource)
getLastModified
in class ResourceLoader
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.