|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BluetoothConnectorService
| Field Summary | |
|---|---|
static int |
READ
Access mode READ |
static int |
READ_WRITE
Access mode READ_WRITE |
static int |
WRITE
Access mode WRITE |
| Method Summary | |
|---|---|
javax.microedition.io.Connection |
open(String name)
Create and open a Connection. |
javax.microedition.io.Connection |
open(String name,
int mode)
Create and open a Connection. |
javax.microedition.io.Connection |
open(String name,
int mode,
boolean timeouts)
Create and open a Connection. |
DataInputStream |
openDataInputStream(String name)
Create and open a connection input stream. |
DataOutputStream |
openDataOutputStream(String name)
Create and open a connection output stream. |
InputStream |
openInputStream(String name)
Create and open a connection input stream. |
OutputStream |
openOutputStream(String name)
Create and open a connection output stream. |
| Field Detail |
|---|
static final int READ
static final int WRITE
static final int READ_WRITE
| Method Detail |
|---|
javax.microedition.io.Connection open(String name)
throws IOException
open in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.
IllegalArgumentException - If a parameter is invalid.
ConnectionNotFoundException - If the requested connection cannot be made,
or the protocol type does not exist.
IOException - If some other kind of I/O error occurs.
SecurityException - If a requested protocol handler is not permitted.
javax.microedition.io.Connection open(String name,
int mode)
throws IOException
open in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.mode - The access mode.
IllegalArgumentException - If a parameter is invalid.
ConnectionNotFoundException - If the requested connection cannot be made,
or the protocol type does not exist.
IOException - If some other kind of I/O error occurs.
SecurityException - If a requested protocol handler is not permitted.
javax.microedition.io.Connection open(String name,
int mode,
boolean timeouts)
throws IOException
open in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.mode - The access mode.timeouts - A flag to indicate that the caller wants timeout exceptions
IllegalArgumentException - If a parameter is invalid.
ConnectionNotFoundException - If the requested connection cannot be made,
or the protocol type does not exist.
IOException - If some other kind of I/O error occurs.
SecurityException - If a requested protocol handler is not permitted.
DataInputStream openDataInputStream(String name)
throws IOException
openDataInputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.
IllegalArgumentException - If a parameter is invalid.
ConnectionNotFoundException - If the connection cannot be found.
IOException - If some other kind of I/O error occurs.
SecurityException - If access to the requested stream is not permitted.
DataOutputStream openDataOutputStream(String name)
throws IOException
openDataOutputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.
IllegalArgumentException - If a parameter is invalid.
ConnectionNotFoundException - If the connection cannot be found.
IOException - If some other kind of I/O error occurs.
SecurityException - If access to the requested stream is not permitted.
InputStream openInputStream(String name)
throws IOException
openInputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.
IllegalArgumentException - If a parameter is invalid.
ConnectionNotFoundException - If the connection cannot be found.
IOException - If some other kind of I/O error occurs.
SecurityException - If access to the requested stream is not permitted.
OutputStream openOutputStream(String name)
throws IOException
openOutputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.
IllegalArgumentException - If a parameter is invalid.
ConnectionNotFoundException - If the connection cannot be found.
IOException - If some other kind of I/O error occurs.
SecurityException - If access to the requested stream is not permitted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||