public interface OutputConnection extends Connection
Modifier and Type | Method and Description |
---|---|
java.io.DataOutputStream |
openDataOutputStream()
Open and return a data output stream for a connection.
|
java.io.OutputStream |
openOutputStream()
Open and return an output stream for a connection.
|
close
java.io.DataOutputStream openDataOutputStream() throws java.io.IOException
java.io.IOException
- If an I/O error occursjava.io.OutputStream openOutputStream() throws java.io.IOException
java.io.IOException
- If an I/O error occursCopyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.