public interface OutputConnection extends Connection
Connection
that is able to open an OutputStream
.Modifier and Type | Method and Description |
---|---|
DataOutputStream |
openDataOutputStream()
Open a
OutputStream . |
OutputStream |
openOutputStream()
Open an
OutputStream . |
close
DataOutputStream openDataOutputStream() throws IOException
OutputStream
.DataOutputStream
.IOException
- if a stream is already openOutputStream openOutputStream() throws IOException
OutputStream
.OutputStream
.IOException
- if a stream is already open