org.gloin.resource
Interface InputStreamFactory

All Known Implementing Classes:
URLInputStreamFactory

public interface InputStreamFactory

Factory to obtain input streams which will be used to send and receive resource bytes to and from resource services.


Method Summary
 java.io.InputStream newInputStream(java.lang.String resourceName)
          Create a new input stream for the resource with name, resourceName.
 

Method Detail

newInputStream

public java.io.InputStream newInputStream(java.lang.String resourceName)
                                   throws java.io.IOException
Create a new input stream for the resource with name, resourceName.
Parameters:
resourceName - name of the resource for which a stream should be created
Returns:
the newly created input stream