|
||||||||||
| 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.JarResourceLoader
public class JarResourceLoader
| Field Summary | |
|---|---|
static java.lang.String |
ID
|
| Fields inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader |
|---|
paths |
| Fields inherited from interface org.codehaus.plexus.resource.loader.ResourceLoader |
|---|
ROLE |
| Constructor Summary | |
|---|---|
JarResourceLoader()
|
|
| Method Summary | |
|---|---|
void |
addSearchPath(java.lang.String path)
|
PlexusResource |
getResource(java.lang.String source)
Get an InputStream so that the Runtime can build a template with it. |
void |
initialize()
|
| Methods inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader |
|---|
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
| Constructor Detail |
|---|
public JarResourceLoader()
| Method Detail |
|---|
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public PlexusResource getResource(java.lang.String source)
throws ResourceNotFoundException
source - name of template to get
ResourceNotFoundException - if template not found in the file template path.public void addSearchPath(java.lang.String path)
addSearchPath in interface ResourceLoaderaddSearchPath in class AbstractResourceLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||