public interface ResourceLoader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
void |
addSearchPath(java.lang.String path) |
PlexusResource |
getResource(java.lang.String name)
Returns the resource with the given name.
|
java.io.InputStream |
getResourceAsInputStream(java.lang.String name)
Deprecated.
Use
getResource(String) . |
java.io.InputStream getResourceAsInputStream(java.lang.String name) throws ResourceNotFoundException
getResource(String)
.ResourceNotFoundException
void addSearchPath(java.lang.String path)
PlexusResource getResource(java.lang.String name) throws ResourceNotFoundException
name
- The resources name.ResourceNotFoundException
- The resource wasn't found, or wasn't available.