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 © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.