net.artima.place.factory
Interface InputStreamFactory


public interface InputStreamFactory
extends java.io.Serializable

Resource factory for a file resource, represented by an InputStream.


Method Summary
 java.io.InputStream getInputStream()
          Returns an input stream for a file resource.
 java.lang.String getMimeType()
          Returns the MIME type for a file resource.
 

Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.rmi.RemoteException
Returns an input stream for a file resource.

getMimeType

public java.lang.String getMimeType()
                             throws java.rmi.RemoteException
Returns the MIME type for a file resource.