public interface ResourceLoader
Modifier and Type | Method and Description |
---|---|
void |
addSearchPath(String path) |
PlexusResource |
getResource(String name)
Returns the resource with the given name.
|
InputStream |
getResourceAsInputStream(String name)
Deprecated.
Use
getResource(String) . |
static final String ROLE
InputStream getResourceAsInputStream(String name) throws ResourceNotFoundException
getResource(String)
.ResourceNotFoundException
void addSearchPath(String path)
PlexusResource getResource(String name) throws ResourceNotFoundException
name
- The resources name.ResourceNotFoundException
- The resource wasn't found, or wasn't available.Copyright © 2001–2019 Codehaus Plexus. All rights reserved.