javax.microedition.io
Interface InputConnection

All Superinterfaces:
Connection
All Known Subinterfaces:
StreamConnection
All Known Implementing Classes:
BTConnection, NXTConnection, RS485Connection, USBConnection

public interface InputConnection
extends Connection


Method Summary
 DataInputStream openDataInputStream()
          Open and return a data input stream for a connection.
 InputStream openInputStream()
          Open and return an input stream for a connection.
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Method Detail

openDataInputStream

DataInputStream openDataInputStream()
Open and return a data input stream for a connection.

Returns:
the data input stream

openInputStream

InputStream openInputStream()
Open and return an input stream for a connection.

Returns:
the input stream