portal.services.resource
Interface IResource
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ClasspathResource, FileResource, LazyResource
- public interface IResource
- extends java.io.Serializable
isStatic
public boolean isStatic()
throws ResourceServiceException
- Throws:
ResourceServiceException
getContentType
public java.lang.String getContentType()
throws ResourceServiceException
- Throws:
ResourceServiceException
getSize
public long getSize()
throws ResourceServiceException
- Throws:
ResourceServiceException
getResourceAsStream
public java.io.InputStream getResourceAsStream()
throws ResourceServiceException
- Throws:
ResourceServiceException