javax.microedition.io
OutputConnection
Declarationpublic interface OutputConnection extends Connection
All Superinterfaces: Connection
All Known Subinterfaces: ContentConnection, StreamConnection
Description
This interface defines the capabilities that an output stream connection must have.
Methods
java.io.DataOutputStre
am
openDataOutputStream()
java.io.OutputStream openOutputStream()
Methods inherited from interface Connection
close()
Methods
openOutputStream()
Declaration:
public java.io.OutputStream openOutputStream()
throws IOException
Description:
Open and return an output stream for a connection.
Returns: An output stream
Throws:
java.io.IOException - If an I/O error occurs
openDataOutputStream()
Declaration:
public java.io.DataOutputStream openDataOutputStream()
throws IOException
Description:
Open and return a data output stream for a connection.
Returns: An output stream
Throws:
java.io.IOException - If an I/O error occurs
No comments:
Post a Comment