portal.services.resource.runtime
Class FileResourceLoader

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

public class FileResourceLoader
extends java.lang.Object
implements IResourceLoader

See Also:
Serialized Form

Constructor Summary
FileResourceLoader()
           
 
Method Summary
 java.lang.String getBasePath()
           
 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

FileResourceLoader

public FileResourceLoader()
                   throws ResourceServiceException
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

getBasePath

public java.lang.String getBasePath()