Interface ResourceLoader
- All Known Implementing Classes:
AbstractResourceLoader
,FileResourceLoader
,JarResourceLoader
,ThreadContextClasspathResourceLoader
,URLResourceLoader
public interface ResourceLoader
- Version:
- $Id: ResourceLoader.java 7981 2008-12-28 11:08:32Z bentmann $
- Author:
- Trygve Laugstøl
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSearchPath
(String path) getResource
(String name) Returns the resource with the given name.Deprecated.
-
Field Details
-
ROLE
-
-
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)
.