org.jboss.portal.common.util
Interface Loader

All Known Subinterfaces:
Configuration
All Known Implementing Classes:
ConfigurationImpl, ServletContextLoader

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
 java.io.InputStream load(java.lang.String name)
          Returns an InputStream or null if not found.
 

Field Detail

REGEX_NAME_VALIDATOR

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

See Also:
Constant Field Values
Method Detail

load

java.io.InputStream load(java.lang.String name)
Returns an InputStream or null if not found.