Package ej.ecom.io
Interface InputConnection
-
- All Superinterfaces:
Connection
- All Known Subinterfaces:
CommConnection,ContentConnection,StreamConnection
public interface InputConnection extends Connection
This interface is implemented by aConnectionthat is able to open anInputStream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataInputStreamopenDataInputStream()Open aDataInputStream.InputStreamopenInputStream()Open anInputStream.-
Methods inherited from interface ej.ecom.io.Connection
close
-
-
-
-
Method Detail
-
openInputStream
InputStream openInputStream() throws IOException
Open anInputStream.- Returns:
- the open
InputStream. - Throws:
IOException- if a stream is already open
-
openDataInputStream
DataInputStream openDataInputStream() throws IOException
Open aDataInputStream.- Returns:
- the open
DataInputStream. - Throws:
IOException- if a stream is already open
-
-