public interface InputConnection extends Connection
Connection
that is able to open an InputStream
.Modifier and Type | Method and Description |
---|---|
DataInputStream |
openDataInputStream()
Open a
DataInputStream . |
InputStream |
openInputStream()
Open an
InputStream . |
close
DataInputStream openDataInputStream() throws IOException
DataInputStream
.DataInputStream
.IOException
- if a stream is already openInputStream openInputStream() throws IOException
InputStream
.InputStream
.IOException
- if a stream is already open