ResourceLoader
FileResourceLoader
, JarResourceLoader
, ThreadContextClasspathResourceLoader
, URLResourceLoader
public abstract class AbstractResourceLoader extends org.codehaus.plexus.logging.AbstractLogEnabled implements ResourceLoader
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List |
paths |
ROLE
Constructor | Description |
---|---|
AbstractResourceLoader() |
Modifier and Type | Method | Description |
---|---|---|
void |
addSearchPath(java.lang.String path) |
|
java.io.InputStream |
getResourceAsInputStream(java.lang.String name) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResource
public void addSearchPath(java.lang.String path)
addSearchPath
in interface ResourceLoader
public java.io.InputStream getResourceAsInputStream(java.lang.String name) throws ResourceNotFoundException
getResourceAsInputStream
in interface ResourceLoader
ResourceNotFoundException