|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.resource.loader.AbstractResourceLoader
org.codehaus.plexus.resource.loader.URLResourceLoader
public class URLResourceLoader
| Field Summary | |
|---|---|
static java.lang.String |
ID
|
protected java.util.Map |
templateRoots
|
| Fields inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader |
|---|
paths |
| Fields inherited from interface org.codehaus.plexus.resource.loader.ResourceLoader |
|---|
ROLE |
| Constructor Summary | |
|---|---|
URLResourceLoader()
|
|
| Method Summary | |
|---|---|
PlexusResource |
getResource(java.lang.String name)
Get an InputStream so that the Runtime can build a template with it. |
| Methods inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader |
|---|
addSearchPath, getResourceAsInputStream |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID
protected java.util.Map templateRoots
| Constructor Detail |
|---|
public URLResourceLoader()
| Method Detail |
|---|
public PlexusResource getResource(java.lang.String name)
throws ResourceNotFoundException
name - name of template to fetch bytestream of
ResourceNotFoundException - if template not found in the file template path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||