portal.services.resource.runtime
Interface IResourceLoader
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ClasspathResourceLoader, FileResourceLoader
- public interface IResourceLoader
- extends java.io.Serializable
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