Class AbstractResourceLoader
- java.lang.Object
-
- org.codehaus.plexus.resource.loader.AbstractResourceLoader
-
- All Implemented Interfaces:
ResourceLoader
- Direct Known Subclasses:
FileResourceLoader,JarResourceLoader,ThreadContextClasspathResourceLoader,URLResourceLoader
public abstract class AbstractResourceLoader extends java.lang.Object implements ResourceLoader
- Version:
- $Id$
- Author:
- Trygve Laugstøl
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>paths
-
Constructor Summary
Constructors Constructor Description AbstractResourceLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddSearchPath(java.lang.String path)java.io.InputStreamgetResourceAsInputStream(java.lang.String name)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.plexus.resource.loader.ResourceLoader
getResource
-
-
-
-
Method Detail
-
addSearchPath
public void addSearchPath(java.lang.String path)
- Specified by:
addSearchPathin interfaceResourceLoader
-
getResourceAsInputStream
@Deprecated public java.io.InputStream getResourceAsInputStream(java.lang.String name) throws ResourceNotFoundExceptionDeprecated.- Specified by:
getResourceAsInputStreamin interfaceResourceLoader- Throws:
ResourceNotFoundException
-
-