当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
Loader - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.common.util
Interface Loader
- All Known Implementing Classes:
- CLLoader
- public interface Loader
A generic interface which define loading capabilities.
The name format must follow the regular expression : ^(/[-a-zA-Z0-9_\.]+)+$
- Version:
- $Revision: 5451 $
- 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
public static final java.lang.String REGEX_NAME_VALIDATOR
- Helper to validate name.
- See Also:
- Constant Field Values
load
public java.io.InputStream load(java.lang.String location)
- Returns an InputStream or null if not found.
getResource
public LoaderResource getResource(java.lang.String location)