public interface InputConnection extends Connection
Modifier and Type | Method and Description |
---|---|
java.io.DataInputStream |
openDataInputStream()
Open and return a data input stream for a connection.
|
java.io.InputStream |
openInputStream()
Open and return an input stream for a connection.
|
close
java.io.DataInputStream openDataInputStream() throws java.io.IOException
java.io.IOException
- If an I/O error occursjava.io.InputStream openInputStream() 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.