portal.services.resource.runtime
Interface IResourceLoader

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ClasspathResourceLoader, FileResourceLoader

public interface IResourceLoader
extends java.io.Serializable


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)
           
 

Method Detail

init

public void init(java.util.Properties properties)
          throws ResourceServiceException
Throws:
ResourceServiceException

hasResource

public boolean hasResource(java.lang.String resourcePath)
                    throws ResourceServiceException
Throws:
ResourceServiceException

getResource

public IResource getResource(java.lang.String resourcePath)
                      throws ResourceServiceException
Throws:
ResourceServiceException

getResource

public IResource getResource(java.lang.String resourcePath,
                             java.lang.String contentType)
                      throws ResourceServiceException
Throws:
ResourceServiceException