The javax.microedition.io Package

This package contains all interfaces, classes, and exceptions of the generic connection framework.

Interfaces

CommConnection The CommConnection interface is a PDAP extension to CLDC and is only available in PDAP-conforming Java Virtual Machines. The CommConnection interface defines all necessary methods for a logical serial port connection.
Connection The Connection interface is the basic type of generic connection and a superclass of all connections.
ContentConnection The ContentConnection interface defines methods for a stream connection over which content is passed.
Datagram The Datagram interface defines generic methods for a datagram that is used by the DatagramConnection.
DatagramConnection The DatagramConnection interface defines all necessary methods for datagram connections.
FileConnection The FileConnection interface is a PDAP extension to CLDC and is available only in PDAP-conforming Java Virtual Machines. The FileConnection interface defines all necessary methods to access files that are stored on removable media.
FileSystemEvent The FileSystemEvent interface is a PDAP extension to CLDC and is available only in PDAP-conforming Java Virtual Machines. The FileSystemEvent interface defines all necessary methods needed for an event used to detect when a file system is added and removed on a device.
HttpConnection The HttpConnection interface is an MIDP extension to CLDC and is available only in MIDP-conforming Java Virtual Machines. The HttpConnection interface defines all necessary methods and constants for a HTTP connection.
InputConnection The InputConnection interface defines all necessary methods for an input connection.
OutputConnection The OutputConnection interface defines all necessary methods for an output connection.
StreamConnection The StreamConnection interface is the combination of the InputConnection and the OutputConnection.
StreamConnectionNotifier The StreamConnectionNotifier interface defines the methods that a stream connection notifier must have.

Classes

Connector The Connector class provides a set of static methods for handling all kinds of connections contained in the generic connection framework.
FileSystemListener The FileSystemListener is a PDAP extension to CLDC and is available only in PDAP-conforming Java Virtual Machines. The FileSystemListener is used for receiving FileSystemEvents while adding or removing a file system root.

Exception

The ConnectionNotFoundException is thrown to indicate that a particular connection passed to the Connector.open() methods can not be found.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset