portal.services.resource.runtime
Class ClasspathResourceLoader

java.lang.Object
  extended byportal.services.resource.runtime.ClasspathResourceLoader
All Implemented Interfaces:
IResourceLoader, java.io.Serializable

public class ClasspathResourceLoader
extends java.lang.Object
implements IResourceLoader

See Also:
Serialized Form

Constructor Summary
ClasspathResourceLoader()
           
 
Method Summary
 IResource getResource(java.lang.String resourcePath)
           
 IResource getResource(java.lang.String resourcePath, java.lang.String contentType)
           
 boolean hasResource(java.lang.String resourcePath)
           
 void init(java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathResourceLoader

public ClasspathResourceLoader()
Method Detail

init

public void init(java.util.Properties properties)
          throws ResourceServiceException
Specified by:
init in interface IResourceLoader
Throws:
ResourceServiceException

hasResource

public boolean hasResource(java.lang.String resourcePath)
                    throws ResourceServiceException
Specified by:
hasResource in interface IResourceLoader
Throws:
ResourceServiceException

getResource

public IResource getResource(java.lang.String resourcePath)
                      throws ResourceServiceException
Specified by:
getResource in interface IResourceLoader
Throws:
ResourceServiceException

getResource

public IResource getResource(java.lang.String resourcePath,
                             java.lang.String contentType)
                      throws ResourceServiceException
Specified by:
getResource in interface IResourceLoader
Throws:
ResourceServiceException