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
OutputStream openOutputStream() throws IOException
OutputStream
.OutputStream
.IOException
- if a stream is already openDataOutputStream openDataOutputStream() throws IOException
OutputStream
.DataOutputStream
.IOException
- if a stream is already open