public interface OutputConnection extends Connection
Modifier and Type | Method and Description |
---|---|
DataOutputStream |
openDataOutputStream()
Open and return a data output stream for a connection.
|
OutputStream |
openOutputStream()
Open and return an output stream for a connection.
|
close
OutputStream openOutputStream() throws IOException
IOException
- If an I/O error occursDataOutputStream openDataOutputStream() throws IOException
IOException
- If an I/O error occursCopyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.