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

CLLoader - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.util
Class CLLoader

java.lang.Object
  extended byorg.jboss.portal.common.util.CLLoader
All Implemented Interfaces:
Loader

public class CLLoader
extends java.lang.Object
implements Loader

Version:
$Revision: 5451 $
Author:
Julien Viet

Nested Class Summary
private static class CLLoader.URLResource
           
 
Field Summary
private  java.lang.ClassLoader loader
           
 
Fields inherited from interface org.jboss.portal.common.util.Loader
REGEX_NAME_VALIDATOR
 
Constructor Summary
CLLoader()
           
CLLoader(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
 

Field Detail

loader

private final java.lang.ClassLoader loader
Constructor Detail

CLLoader

public CLLoader(java.lang.ClassLoader loader)

CLLoader

public CLLoader()
Method Detail

load

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

Specified by:
load in interface Loader

getResource

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