@ProviderType
@Deprecated
public interface BluetoothConnector
extends org.osgi.service.io.ConnectorService
| Modifier and Type | Field and Description |
|---|---|
static int |
READ
Deprecated.
Access mode READ
|
static int |
READ_WRITE
Deprecated.
Access mode READ_WRITE
|
static int |
WRITE
Deprecated.
Access mode WRITE
|
| Modifier and Type | Method and Description |
|---|---|
javax.microedition.io.Connection |
open(java.lang.String name)
Deprecated.
|
javax.microedition.io.Connection |
open(java.lang.String name,
int mode)
Deprecated.
|
javax.microedition.io.Connection |
open(java.lang.String name,
int mode,
boolean timeouts)
Deprecated.
|
java.io.DataInputStream |
openDataInputStream(java.lang.String name)
Deprecated.
|
java.io.DataOutputStream |
openDataOutputStream(java.lang.String name)
Deprecated.
|
java.io.InputStream |
openInputStream(java.lang.String name)
Deprecated.
|
java.io.OutputStream |
openOutputStream(java.lang.String name)
Deprecated.
|
static final int READ
static final int WRITE
static final int READ_WRITE
@Deprecated
javax.microedition.io.Connection open(java.lang.String name)
throws java.io.IOException
open in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.java.lang.IllegalArgumentException - If a parameter is invalid.javax.microedition.io.ConnectionNotFoundException - If the requested connection cannot be made,
or the protocol type does not exist.java.io.IOException - If some other kind of I/O error occurs.java.lang.SecurityException - If a requested protocol handler is not permitted.@Deprecated
javax.microedition.io.Connection open(java.lang.String name,
int mode)
throws java.io.IOException
open in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.mode - The access mode.java.lang.IllegalArgumentException - If a parameter is invalid.javax.microedition.io.ConnectionNotFoundException - If the requested connection cannot be made,
or the protocol type does not exist.java.io.IOException - If some other kind of I/O error occurs.java.lang.SecurityException - If a requested protocol handler is not permitted.@Deprecated
javax.microedition.io.Connection open(java.lang.String name,
int mode,
boolean timeouts)
throws java.io.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 exceptionsjava.lang.IllegalArgumentException - If a parameter is invalid.javax.microedition.io.ConnectionNotFoundException - If the requested connection cannot be made,
or the protocol type does not exist.java.io.IOException - If some other kind of I/O error occurs.java.lang.SecurityException - If a requested protocol handler is not permitted.@Deprecated
java.io.DataInputStream openDataInputStream(java.lang.String name)
throws java.io.IOException
openDataInputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.java.lang.IllegalArgumentException - If a parameter is invalid.javax.microedition.io.ConnectionNotFoundException - If the connection cannot be found.java.io.IOException - If some other kind of I/O error occurs.java.lang.SecurityException - If access to the requested stream is not permitted.@Deprecated
java.io.DataOutputStream openDataOutputStream(java.lang.String name)
throws java.io.IOException
openDataOutputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.java.lang.IllegalArgumentException - If a parameter is invalid.javax.microedition.io.ConnectionNotFoundException - If the connection cannot be found.java.io.IOException - If some other kind of I/O error occurs.java.lang.SecurityException - If access to the requested stream is not permitted.@Deprecated
java.io.InputStream openInputStream(java.lang.String name)
throws java.io.IOException
openInputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.java.lang.IllegalArgumentException - If a parameter is invalid.javax.microedition.io.ConnectionNotFoundException - If the connection cannot be found.java.io.IOException - If some other kind of I/O error occurs.java.lang.SecurityException - If access to the requested stream is not permitted.@Deprecated
java.io.OutputStream openOutputStream(java.lang.String name)
throws java.io.IOException
openOutputStream in interface org.osgi.service.io.ConnectorServicename - The URL for the connection.java.lang.IllegalArgumentException - If a parameter is invalid.javax.microedition.io.ConnectionNotFoundException - If the connection cannot be found.java.io.IOException - If some other kind of I/O error occurs.java.lang.SecurityException - If access to the requested stream is not permitted.