org.jboss.portal.common.util
Class CLResourceLoader

java.lang.Object
  extended by org.jboss.portal.common.util.CLResourceLoader
All Implemented Interfaces:
ResourceLoader

public class CLResourceLoader
extends java.lang.Object
implements ResourceLoader

Version:
$Revision: 7379 $
Author:
Julien Viet

Field Summary
 
Fields inherited from interface org.jboss.portal.common.util.ResourceLoader
REGEX_NAME_VALIDATOR
 
Constructor Summary
CLResourceLoader()
           
CLResourceLoader(java.lang.ClassLoader loader)
           
 
Method Summary
 LoaderResource getResource(java.lang.String location)
           
 java.io.InputStream load(java.lang.String location)
          Returns an InputStream or null if not found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLResourceLoader

public CLResourceLoader(java.lang.ClassLoader loader)

CLResourceLoader

public CLResourceLoader()
Method Detail

load

public java.io.InputStream load(java.lang.String location)
Description copied from interface: ResourceLoader
Returns an InputStream or null if not found.

Specified by:
load in interface ResourceLoader

getResource

public LoaderResource getResource(java.lang.String location)
Specified by:
getResource in interface ResourceLoader