public interface InputConnection extends Connection
Modifier and Type | Method and Description |
---|---|
DataInputStream |
openDataInputStream()
Open and return a data input stream for a connection.
|
InputStream |
openInputStream()
Open and return an input stream for a connection.
|
close
InputStream openInputStream() throws IOException
IOException
- If an I/O error occursDataInputStream openDataInputStream() throws IOException
IOException
- If an I/O error occursCopyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.