org.jboss.portal.common.util
Interface ResourceLoader
- All Known Implementing Classes:
- CLResourceLoader
public interface ResourceLoader
A generic interface which define loading capabilities of resources.
The name format must follow the regular expression : ^(/[-a-zA-Z0-9_\.]+)+$
- Version:
- $Revision: 6653 $
- Author:
- Julien Viet
Method Summary |
LoaderResource |
getResource(java.lang.String location)
|
java.io.InputStream |
load(java.lang.String location)
Returns an InputStream or null if not found. |
REGEX_NAME_VALIDATOR
static final java.lang.String REGEX_NAME_VALIDATOR
- Helper to validate name.
- See Also:
- Constant Field Values
load
java.io.InputStream load(java.lang.String location)
- Returns an InputStream or null if not found.
getResource
LoaderResource getResource(java.lang.String location)