public class URLResourceLoader extends AbstractResourceLoader
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
protected Map |
templateRoots |
pathsROLE| Constructor and Description |
|---|
URLResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
PlexusResource |
getResource(String name)
Get an InputStream so that the Runtime can build a template with it.
|
addSearchPath, getResourceAsInputStreampublic static final String ID
protected Map templateRoots
public PlexusResource getResource(String name) throws ResourceNotFoundException
name - name of template to fetch bytestream ofResourceNotFoundException - if template not found in the file template path.Copyright © 2001-2016 Codehaus. All Rights Reserved.