ResourceLoader
public class URLResourceLoader extends AbstractResourceLoader
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ID |
|
protected java.util.Map |
templateRoots |
paths
ROLE
Constructor | Description |
---|---|
URLResourceLoader() |
Modifier and Type | Method | Description |
---|---|---|
PlexusResource |
getResource(java.lang.String name) |
Get an InputStream so that the Runtime can build a template with it.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
addSearchPath, getResourceAsInputStream
public static final java.lang.String ID
protected java.util.Map templateRoots
public PlexusResource getResource(java.lang.String name) throws ResourceNotFoundException
name
- name of template to fetch bytestream ofResourceNotFoundException
- if template not found in the file template path.