ResourceLoaderpublic class JarResourceLoader extends AbstractResourceLoader
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ID |
pathsROLE| Constructor | Description |
|---|---|
JarResourceLoader() |
| Modifier and Type | Method | Description |
|---|---|---|
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() |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggergetResourceAsInputStreampublic static final java.lang.String ID
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationExceptionpublic PlexusResource getResource(java.lang.String source) throws ResourceNotFoundException
source - name of template to getResourceNotFoundException - if template not found in the file template path.public void addSearchPath(java.lang.String path)
addSearchPath in interface ResourceLoaderaddSearchPath in class AbstractResourceLoader