org.jutil.resources
Interface ResourceLoader
- All Known Implementing Classes:
- DefaultResourceLoader
public interface ResourceLoader
Wrapper for resource loaders such as ServletContext
Used for loading resources from URl/s and streams in an application
specific way.
COMPONENT_ROLE
static final java.lang.String COMPONENT_ROLE
- See Also:
- Constant Field Values
getResource
java.net.URL getResource(java.lang.String path)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getResourceAsStream
java.io.InputStream getResourceAsStream(java.lang.String path)