Interface ResourceLoader
- All Known Implementing Classes:
AbstractResourceLoader
,FileResourceLoader
,JarResourceLoader
,ThreadContextClasspathResourceLoader
,URLResourceLoader
public interface ResourceLoader
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSearchPath
(String path) getResource
(String name) Returns the resource with the given name.Deprecated.
-
Method Details
-
getResourceAsInputStream
Deprecated.UsegetResource(String)
.- Throws:
ResourceNotFoundException
-
addSearchPath
-
getResource
Returns the resource with the given name.- Parameters:
name
- The resources name.- Returns:
- The resource with the given name.
- Throws:
ResourceNotFoundException
- The resource wasn't found, or wasn't available.
-
getResource(String)
.