站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

Loader - JBOSS Portal 2.4 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_\.]+)+$


Field Summary
static java.lang.String REGEX_NAME_VALIDATOR
          Helper to validate name.
 
Method Summary
 LoaderResource getResource(java.lang.String location)
           
 java.io.InputStream load(java.lang.String location)
          Returns an InputStream or null if not found.
 

Field Detail

REGEX_NAME_VALIDATOR

public static final java.lang.String REGEX_NAME_VALIDATOR
Helper to validate name.

See Also:
Constant Field Values
Method Detail

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)