|
|||||||||||
| 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
| Field Summary | |
protected java.util.HashMap |
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 | |
java.io.InputStream |
getResourceAsInputStream(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 |
| 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 |
protected java.util.HashMap templateRoots
| Constructor Detail |
public URLResourceLoader()
| Method Detail |
public java.io.InputStream getResourceAsInputStream(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 | ||||||||||