public class JarResourceLoader extends AbstractResourceLoader
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
pathsROLE| Constructor and Description |
|---|
JarResourceLoader() |
| Modifier and Type | Method and 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() |
getResourceAsInputStreampublic 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