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
InputStream openInputStream() throws IOException
InputStream
.InputStream
.IOException
- if a stream is already openDataInputStream openDataInputStream() throws IOException
DataInputStream
.DataInputStream
.IOException
- if a stream is already open