javax.microedition.io
InputConnection
Declarationpublic interface InputConnection extends Connection
All Superinterfaces: Connection
All Known Subinterfaces: ContentConnection, StreamConnection
Description
This interface defines the capabilities that an input stream connection must have.
Methods
java.io.DataInputStrea
m
openDataInputStream()
java.io.InputStream openInputStream()
Methods inherited from interface Connection
close()
Methods
openInputStream()
Declaration:
public java.io.InputStream openInputStream()
throws IOException
Description:
Open and return an input stream for a connection.
Returns: An input stream
Throws:
java.io.IOException - If an I/O error occurs
openDataInputStream()
Declaration:
public java.io.DataInputStream openDataInputStream()
throws IOException
Description:
Open and return a data input stream for a connection.
Returns: An input stream
Throws:
java.io.IOException - If an I/O error occurs
No comments:
Post a Comment