is.lill.acre.protocol
Interface IProtocolSource

All Known Implementing Classes:
FileProtocolSource, URLProtocolSource

public interface IProtocolSource

Interface representing a source from which protocols can be read.


Method Summary
 java.lang.String getDescription()
           
 ProtocolDescriptor getDescriptor()
           
 java.io.InputStream getInputStream()
          Get an InputStream from which one or more protocols may be read.
 

Method Detail

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Get an InputStream from which one or more protocols may be read.

Returns:
The stream
Throws:
java.io.IOException - if a stream cannot be created.

getDescription

java.lang.String getDescription()

getDescriptor

ProtocolDescriptor getDescriptor()