portal.services.resource
Interface IResource

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ClasspathResource, FileResource, LazyResource

public interface IResource
extends java.io.Serializable


Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getResourceAsStream()
           
 long getSize()
           
 boolean isStatic()
           
 

Method Detail

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