|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object is.lill.acre.protocol.FileProtocolSource
public class FileProtocolSource
Constructor Summary | |
---|---|
FileProtocolSource(java.io.File file,
ProtocolDescriptor desc)
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
ProtocolDescriptor |
getDescriptor()
|
java.io.InputStream |
getInputStream()
Get an InputStream from which one or more protocols may be read. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileProtocolSource(java.io.File file, ProtocolDescriptor desc)
Method Detail |
---|
public java.io.InputStream getInputStream() throws java.io.IOException
IProtocolSource
InputStream
from which one or more protocols may be read.
getInputStream
in interface IProtocolSource
java.io.IOException
- if a stream cannot be created.public java.lang.String getDescription()
getDescription
in interface IProtocolSource
public ProtocolDescriptor getDescriptor()
getDescriptor
in interface IProtocolSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |