ResourceLoader
public class JarResourceLoader extends AbstractResourceLoader
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ID |
paths
ROLE
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, setupLogger
getResourceAsInputStream
public 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.InitializationException
public 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 ResourceLoader
addSearchPath
in class AbstractResourceLoader