Package ej.ecom.io
Interface OutputConnection
-
- All Superinterfaces:
Connection
- All Known Subinterfaces:
CommConnection,ContentConnection,StreamConnection
public interface OutputConnection extends Connection
This interface is implemented by aConnectionthat is able to open anOutputStream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataOutputStreamopenDataOutputStream()Open aOutputStream.OutputStreamopenOutputStream()Open anOutputStream.-
Methods inherited from interface ej.ecom.io.Connection
close
-
-
-
-
Method Detail
-
openOutputStream
OutputStream openOutputStream() throws IOException
Open anOutputStream.- Returns:
- the open
OutputStream. - Throws:
IOException- if a stream is already open
-
openDataOutputStream
DataOutputStream openDataOutputStream() throws IOException
Open aOutputStream.- Returns:
- the open
DataOutputStream. - Throws:
IOException- if a stream is already open
-
-