org.apache.maven.resource.loader
public class ProjectResourceLoader extends ResourceLoader
Method Summary | |
---|---|
long | getLastModified(Resource resource) |
InputStream | getResourceStream(String templateName)
Get an InputStream so that the Runtime can build a
template with it.
|
void | init(ExtendedProperties configuration) |
boolean | isSourceModified(Resource resource)
How to keep track of all the modified times
across the paths. |
Parameters: name name of template to get
Returns: InputStream containing the template
Throws: ResourceNotFoundException if template not found in the file template path.