|
JSR 217 (Maintenance Release) | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the capabilities that an input stream connection must have.
| 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 |
public InputStream openInputStream()
throws IOException
IOException - If an I/O error occurs
SecurityException - If a security manager exists, and the
operation is not allowed. (See the overview page for more information.)
public DataInputStream openDataInputStream()
throws IOException
IOException - If an I/O error occurs
SecurityException - If a security manager exists, and the
operation is not allowed. (See the overview page for more information.)
|
JSR 217 (Maintenance Release) | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||