Package | Description |
---|---|
com.cinterion.gps | |
com.cinterion.io |
IO related utility classes for accessing the functionality of a wireless module.
|
com.cinterion.location | |
com.cinterion.misc |
Utility classes for accessing the functionality of a wireless module.
|
com.sun.midp.io.pipe | |
java.io |
Provides classes for input and output through data streams.
|
java.lang |
MID Profile Language Classes included from Java 2 Standard
Edition.
|
java.util |
MID Profile Utility Classes included from Java 2 Standard
Edition.
|
javax.microedition.io |
MID Profile includes networking support based on the
Generic Connection framework from the
Connected, Limited Device Configuration. |
javax.microedition.media | |
javax.microedition.midlet |
The MIDlet package defines Mobile Information
Device Profile applications and the interactions between the
application and the environment in which the application runs.
|
javax.microedition.pki |
Certificates are used to authenticate information for secure
Connections.
|
javax.microedition.rms |
The Mobile Information Device Profile provides a mechanism for
MIDlets to persistently store data and later retrieve it.
|
Modifier and Type | Method and Description |
---|---|
String |
GpsApiMngr.GpsSuplAddrGet() |
Modifier and Type | Method and Description |
---|---|
int |
GpsApiMngr.GpsSuplAddrSet(int addr_type,
String addr,
int port) |
Modifier and Type | Method and Description |
---|---|
String |
ATCommand.breakConnection()
This function switches the module, when in CSD data call, back from transparent data mode
to AT command mode.
|
static String[] |
BearerControl.GetBearerList()
Retrieve a string list with all current defined bearers in the system.
|
static String |
BearerControl.GetBearerV4Addr(String APN)
Retrieve the current IPv4 address of the bearer.
|
static String |
BearerControl.GetBearerV4Dns1(String APN)
Retrieve the current IPv4 DNS1 address of the bearer.
|
static String |
BearerControl.GetBearerV4Dns2(String APN)
Retrieve the current IPv4 DNS2 address of the bearer.
|
static String |
BearerControl.GetBearerV6Addr(String APN) |
static String |
BearerControl.GetBearerV6Dns1(String APN) |
static String |
BearerControl.GetBearerV6Dns2(String APN) |
static String |
ATStringConverter.GSM2Java(String gsmStr)
Convert GSM encoded string into a Java string, "\xy" character
escaping is supported.
|
static String |
ATStringConverter.GSM2Java(String gsmStr,
boolean handleEscaping)
Convert GSM encoded string into a Java string, "\xy" character
escaping is switchable.
|
static String |
ATStringConverter.Java2GSM(String str)
Converts a Java encoded string into a GSM encoded string.
|
static String |
ATStringConverter.Java2UCS2Hex(String str)
Converts a Java encoded string into a string containing the characters
in the UCS2 hex format.
|
String |
ATCommand.send(String ATCmd)
Send an AT command to the device.
|
static String |
ATStringConverter.UCS2Hex2Java(String str)
Converts a string in the UCS2 hex format into a Java encoded string.
|
Modifier and Type | Method and Description |
---|---|
void |
ATCommandListener.ATEvent(String Event)
Callback method for unsolicited AT-Events (URCs).
|
void |
ATCommandResponseListener.ATResponse(String Response)
Callback method for passing the response to a call of the non blocking
version of the ATCommand.send function.
|
static int |
BearerControl.GetBearerState(String APN)
Retrieve the current state of the bearer.
|
static String |
BearerControl.GetBearerV4Addr(String APN)
Retrieve the current IPv4 address of the bearer.
|
static String |
BearerControl.GetBearerV4Dns1(String APN)
Retrieve the current IPv4 DNS1 address of the bearer.
|
static String |
BearerControl.GetBearerV4Dns2(String APN)
Retrieve the current IPv4 DNS2 address of the bearer.
|
static String |
BearerControl.GetBearerV6Addr(String APN) |
static String |
BearerControl.GetBearerV6Dns1(String APN) |
static String |
BearerControl.GetBearerV6Dns2(String APN) |
static String |
ATStringConverter.GSM2Java(String gsmStr)
Convert GSM encoded string into a Java string, "\xy" character
escaping is supported.
|
static String |
ATStringConverter.GSM2Java(String gsmStr,
boolean handleEscaping)
Convert GSM encoded string into a Java string, "\xy" character
escaping is switchable.
|
static int |
BearerControl.hangUp(String APN)
Triggers closure of a dedicated networking bearer.
|
static String |
ATStringConverter.Java2GSM(String str)
Converts a Java encoded string into a GSM encoded string.
|
static String |
ATStringConverter.Java2UCS2Hex(String str)
Converts a Java encoded string into a string containing the characters
in the UCS2 hex format.
|
String |
ATCommand.send(String ATCmd)
Send an AT command to the device.
|
void |
ATCommand.send(String ATCmd,
ATCommandResponseListener Listener)
Send an AT command to the device.
|
void |
BearerControlListenerEx.stateChanged(String APN,
int state,
int PdpErrCause)
Callback method for bearer state changes.
|
static String |
ATStringConverter.UCS2Hex2Java(String str)
Converts a string in the UCS2 hex format into a Java encoded string.
|
Constructor and Description |
---|
ATCommandFailedException(String s)
Constructs an exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
static String |
Coordinates.convert(double coordinate,
int outputType)
Converts a double representation of a coordinate with decimal degrees
into a string representation.
|
String |
Landmark.getDescription()
Returns the landmark description.
|
String |
AddressInfo.getField(int field)
Returns the value of an address field.
|
String |
Landmark.getName()
Gets the landmark name.
|
static String[] |
LandmarkStore.listLandmarkStores()
Returns the names of all the available landmark stores.
|
Modifier and Type | Method and Description |
---|---|
void |
LandmarkStore.addCategory(String categoryName)
Adds a category to this
LandmarkStore . |
void |
LandmarkStore.addLandmark(Landmark landmark,
String category)
Adds a landmark to the specified category in the landmark store.
|
static double |
Coordinates.convert(String coordinate)
Converts a String representation of a coordinate into the double
representation used by this class.
|
static void |
LandmarkStore.createLandmarkStore(String storeName)
Creates a new empty landmark store.
|
void |
LandmarkStore.deleteCategory(String categoryName)
Removes a category from this
LandmarkStore . |
static void |
LandmarkStore.deleteLandmarkStore(String storeName)
Deletes a landmark store.
|
static LandmarkStore |
LandmarkStore.getInstance(String storeName)
Returns an instance of
LandmarkStore , which can be used
for storing, retrieving and deleting landmarks. |
Enumeration |
LandmarkStore.getLandmarks(String category,
double minLatitude,
double maxLatitude,
double minLongitude,
double maxLongitude)
Lists all the landmarks that are within an area.
|
Enumeration |
LandmarkStore.getLandmarks(String category,
String name)
Returns all landmarks where the
category and/or name matches the given parameters.
|
void |
LandmarkStore.removeLandmarkFromCategory(Landmark lm,
String category)
Removes a landmark from the given category.
|
void |
Landmark.setDescription(String description)
Sets the description of the landmark.
|
void |
AddressInfo.setField(int field,
String value)
Sets the value of an address field.
|
void |
Landmark.setName(String name)
Sets the name of the landmark.
|
Constructor and Description |
---|
Landmark(String name,
String description,
QualifiedCoordinates coordinates,
AddressInfo addressInfo)
Constructs a new
Landmark object. |
LandmarkException(String s)
Constructs a
LandmarkException with the specified
detail message. |
Modifier and Type | Method and Description |
---|---|
static String |
NetExtension.HostbyAddr(String Hostaddr)
retrieve the DNS name from a Hosts IP address in dotted notation (aaa.bbb.ccc.ddd)
|
static String |
NetExtension.Hostname(String Host)
retrieve IP address of Host as String in dotted notation (aaa.bbb.ccc.ddd)
|
Modifier and Type | Method and Description |
---|---|
static String |
NetExtension.HostbyAddr(String Hostaddr)
retrieve the DNS name from a Hosts IP address in dotted notation (aaa.bbb.ccc.ddd)
|
static String |
NetExtension.Hostname(String Host)
retrieve IP address of Host as String in dotted notation (aaa.bbb.ccc.ddd)
|
static int |
NetExtension.Ping(String Host)
ping host
|
static int |
NetExtension.Ping(String Host,
int Timeout)
ping host
with timeout in ms,
|
static int |
NetExtension.Ping(String Host,
int Timeout,
int NumPings)
ping host
with NumPings packets,
timeout for every packet in ms,
|
static int |
NetExtension.Ping(String Host,
int Timeout,
int NumPings,
int Size)
ping host
with NumPings packets,
with Size bytes content,
timeout for every packet in ms,
|
static int |
NetExtension.Ping(String Host,
int Timeout,
int NumPings,
int Size,
int Delay)
ping host
with NumPings packets,
with Size bytes content,
timeout for every packet in ms,
Delay delay between each packet,
|
static int |
NetExtension.Ping(String Host,
int Timeout,
int NumPings,
int Size,
int Delay,
int Ttl)
ping host
with NumPings packets,
with Size bytes content,
timeout for every packet in ms,
Delay delay between each packet,
Ttl TTL
|
static int |
NetExtension.Ping(String Host,
int Timeout,
int NumPings,
int Size,
int Delay,
int Ttl,
PingResponse Response)
ping host
with NumPings packets,
with Size bytes content,
timeout for every packet in ms,
Delay delay between each packet,
Ttl TTL
|
Modifier and Type | Method and Description |
---|---|
String |
PipeServerConnection.getName()
Retrieve name of the pipe.
|
String |
PipeConnection.getRequestedServerVersion()
Retrieves the pipe version requested in connection string.
|
String |
PipeConnection.getServerName()
Retrieves the pipe name requested.
|
String |
PipeServerConnection.getVersion()
Retrieves version of the pipe.
|
Modifier and Type | Method and Description |
---|---|
String |
DataInputStream.readUTF()
See the general contract of the
readUTF
method of DataInput . |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a modified UTF-8 format.
|
static String |
DataInputStream.readUTF(DataInput in)
Reads from the
stream
in a representation
of a Unicode character string encoded in
Java modified UTF-8 format; this string
of characters is then returned as a String . |
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string, translating bytes into
characters according to the platform's default character encoding.
|
Modifier and Type | Method and Description |
---|---|
void |
PrintStream.print(String s)
Print a string.
|
void |
PrintStream.println(String x)
Print a String and then terminate the line.
|
void |
Writer.write(String str)
Write a string.
|
void |
Writer.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s ,
to the output stream, in order,
two bytes per character. |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
|
void |
DataOutput.writeUTF(String s)
Writes two bytes of length information
to the output stream, followed
by the Java modified UTF representation
of every character in the string
s . |
Constructor and Description |
---|
EOFException(String s)
Constructs an
EOFException with the specified detail
message. |
InputStreamReader(InputStream is,
String enc)
Create an InputStreamReader that uses the named character encoding.
|
InterruptedIOException(String s)
Constructs an
InterruptedIOException with the
specified detail message. |
IOException(String s)
Constructs an
IOException with the specified detail
message. |
OutputStreamWriter(OutputStream os,
String enc)
Create an OutputStreamWriter that uses the named character encoding.
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message.
|
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the
specified detail message. |
Modifier and Type | Method and Description |
---|---|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
String |
Throwable.getMessage()
Returns the error message string of this
Throwable object. |
String |
Thread.getName()
Returns this thread's name.
|
String |
Class.getName()
Returns the fully-qualified name of the entity (class, interface, array
class, primitive type, or void) represented by this
Class
object, as a String . |
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
String |
String.intern()
Returns a canonical representation for the string object.
|
String |
String.replace(char oldChar,
char newChar)
Returns a new string resulting from replacing all occurrences of
oldChar in this string with newChar . |
String |
String.substring(int beginIndex)
Returns a new string that is a substring of this string.
|
String |
String.substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string.
|
static String |
Integer.toBinaryString(int i)
Creates a string representation of the integer argument as an
unsigned integer in base 2.
|
static String |
Integer.toHexString(int i)
Creates a string representation of the integer argument as an
unsigned integer in base 16.
|
String |
String.toLowerCase()
Converts all of the characters in this
String to lower case. |
static String |
Integer.toOctalString(int i)
Creates a string representation of the integer argument as an
unsigned integer in base 8.
|
String |
Throwable.toString()
Returns a short description of this
Throwable object. |
String |
Thread.toString()
Returns a string representation of this thread, including the
thread's name and priority.
|
String |
StringBuffer.toString()
Converts to a string representing the data in this string buffer.
|
String |
String.toString()
This object (which is already a string!) is itself returned.
|
String |
Short.toString()
Returns a String object representing this Short's value.
|
String |
Object.toString()
Returns a string representation of the object.
|
String |
Long.toString()
Returns a String object representing this Long's value.
|
String |
Integer.toString()
Returns a String object representing this Integer's value.
|
String |
Float.toString()
Returns a String representation of this Float object.
|
String |
Double.toString()
Returns a String representation of this Double object.
|
String |
Class.toString()
Converts the object to a string.
|
String |
Character.toString()
Returns a String object representing this character's value.
|
String |
Byte.toString()
Returns a String object representing this Byte's value.
|
String |
Boolean.toString()
Returns a String object representing this Boolean's value.
|
static String |
Double.toString(double d)
Creates a string representation of the
double
argument. |
static String |
Float.toString(float f)
Returns a String representation for the specified float value.
|
static String |
Integer.toString(int i)
Returns a new String object representing the specified integer.
|
static String |
Integer.toString(int i,
int radix)
Creates a string representation of the first argument in the
radix specified by the second argument.
|
static String |
Long.toString(long i)
Returns a new String object representing the specified integer.
|
static String |
Long.toString(long i,
int radix)
Creates a string representation of the first argument in the
radix specified by the second argument.
|
String |
String.toUpperCase()
Converts all of the characters in this
String to upper case. |
String |
String.trim()
Removes white space from both ends of this string.
|
static String |
String.valueOf(boolean b)
Returns the string representation of the
boolean argument. |
static String |
String.valueOf(char c)
Returns the string representation of the
char
argument. |
static String |
String.valueOf(char[] data)
Returns the string representation of the
char array
argument. |
static String |
String.valueOf(char[] data,
int offset,
int count)
Returns the string representation of a specific subarray of the
char array argument. |
static String |
String.valueOf(double d)
Returns the string representation of the
double argument. |
static String |
String.valueOf(float f)
Returns the string representation of the
float argument. |
static String |
String.valueOf(int i)
Returns the string representation of the
int argument. |
static String |
String.valueOf(long l)
Returns the string representation of the
long argument. |
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
Modifier and Type | Method and Description |
---|---|
StringBuffer |
StringBuffer.append(String str)
Appends the string to this string buffer.
|
int |
String.compareTo(String anotherString)
Compares two strings lexicographically.
|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix.
|
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this
String to another String ,
ignoring case considerations. |
static Class |
Class.forName(String className)
Returns the
Class object associated with the class
with the given string name. |
byte[] |
String.getBytes(String enc)
Convert this
String into bytes according to the specified
character encoding, storing the result into a new byte array. |
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name in the application's
JAR file.
|
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the
specified substring.
|
int |
String.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
|
StringBuffer |
StringBuffer.insert(int offset,
String str)
Inserts the string into this string buffer.
|
static byte |
Byte.parseByte(String s)
Assuming the specified String represents a byte, returns
that byte's value.
|
static byte |
Byte.parseByte(String s,
int radix)
Assuming the specified String represents a byte, returns
that byte's value.
|
static double |
Double.parseDouble(String s)
Returns a new double initialized to the value represented by the
specified
String , as performed by the valueOf
method of class Double . |
static float |
Float.parseFloat(String s)
Returns a new float initialized to the value represented by the
specified
String . |
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer.
|
static int |
Integer.parseInt(String s,
int radix)
Parses the string argument as a signed integer in the radix
specified by the second argument.
|
static long |
Long.parseLong(String s)
Parses the string argument as a signed decimal
long . |
static long |
Long.parseLong(String s,
int radix)
Parses the string argument as a signed
long in the
radix specified by the second argument. |
static short |
Short.parseShort(String s)
Assuming the specified String represents a short, returns
that short's value.
|
static short |
Short.parseShort(String s,
int radix)
Assuming the specified String represents a short, returns
that short's value in the radix specified by the second
argument.
|
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
boolean |
String.startsWith(String prefix)
Tests if this string starts with the specified prefix.
|
boolean |
String.startsWith(String prefix,
int toffset)
Tests if this string starts with the specified prefix beginning
at the specified index.
|
static Integer |
Integer.valueOf(String s)
Returns a new Integer object initialized to the value of the
specified String.
|
static Float |
Float.valueOf(String s)
Returns the floating point value represented by the specified String.
|
static Double |
Double.valueOf(String s)
Returns a new
Double object initialized to the value
represented by the specified string. |
static Integer |
Integer.valueOf(String s,
int radix)
Returns a new Integer object initialized to the value of the
specified String.
|
Constructor and Description |
---|
ArithmeticException(String s)
Constructs an
ArithmeticException with the specified
detail message. |
ArrayIndexOutOfBoundsException(String s)
Constructs an
ArrayIndexOutOfBoundsException class
with the specified detail message. |
ArrayStoreException(String s)
Constructs an
ArrayStoreException with the specified
detail message. |
ClassCastException(String s)
Constructs a
ClassCastException with the specified
detail message. |
ClassNotFoundException(String s)
Constructs a
ClassNotFoundException with the
specified detail message. |
Error(String s)
Constructs an Error with the specified detail message.
|
Exception(String s)
Constructs an
Exception with the specified detail message. |
IllegalAccessException(String s)
Constructs an
IllegalAccessException with a detail message. |
IllegalArgumentException(String s)
Constructs an
IllegalArgumentException with the
specified detail message. |
IllegalMonitorStateException(String s)
Constructs an
IllegalMonitorStateException with the
specified detail message. |
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail
message.
|
IllegalThreadStateException(String s)
Constructs an
IllegalThreadStateException with the
specified detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException with the
specified detail message. |
InstantiationException(String s)
Constructs an
InstantiationException with the
specified detail message. |
InterruptedException(String s)
Constructs an
InterruptedException with the
specified detail message. |
NegativeArraySizeException(String s)
Constructs a
NegativeArraySizeException with the
specified detail message. |
NoClassDefFoundError(String s)
Constructs a
NoClassDefFoundError with the specified
detail message. |
NullPointerException(String s)
Constructs a
NullPointerException with the specified
detail message. |
NumberFormatException(String s)
Constructs a
NumberFormatException with the
specified detail message. |
OutOfMemoryError(String s)
Constructs an
OutOfMemoryError with the specified
detail message. |
RuntimeException(String s)
Constructs a
RuntimeException with the specified
detail message. |
SecurityException(String s)
Constructs a
SecurityException with the specified
detail message. |
String(byte[] bytes,
int off,
int len,
String enc)
Construct a new
String by converting the specified
subarray of bytes using the specified character encoding. |
String(byte[] bytes,
String enc)
Construct a new
String by converting the specified array
of bytes using the specified character encoding. |
String(String value)
Initializes a newly created
String object so that it
represents the same sequence of characters as the argument; in other
words, the newly created string is a copy of the argument string. |
StringBuffer(String str)
Constructs a string buffer so that it represents the same
sequence of characters as the string argument; in other
words, the initial contents of the string buffer is a copy of the
argument string.
|
StringIndexOutOfBoundsException(String s)
Constructs a
StringIndexOutOfBoundsException with
the specified detail message. |
Thread(Runnable target,
String name)
Allocates a new
Thread object with the given
target and name. |
Thread(String name)
Allocates a new
Thread object with the
given name. |
Throwable(String message)
Constructs a new
Throwable with the specified error
message. |
VirtualMachineError(String s)
Constructs a
VirtualMachineError with the specified
detail message. |
Modifier and Type | Method and Description |
---|---|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported.
|
String |
TimeZone.getID()
Gets the ID of this time zone.
|
String |
Vector.toString()
Returns a string representation of this vector.
|
String |
Hashtable.toString()
Returns a rather long string representation of this hashtable.
|
String |
Date.toString()
Converts this
Date object to a String
of the form:
|
Modifier and Type | Method and Description |
---|---|
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
Constructor and Description |
---|
NoSuchElementException(String s)
Constructs a
NoSuchElementException , saving a reference
to the error message string s for later retrieval by the
getMessage method. |
Modifier and Type | Field and Description |
---|---|
static String |
HttpConnection.GET
HTTP Get method.
|
static String |
HttpConnection.HEAD
HTTP Head method.
|
static String |
HttpConnection.POST
HTTP Post method.
|
Modifier and Type | Method and Description |
---|---|
String |
SocketConnection.getAddress()
Gets the remote address to which the socket is bound.
|
String |
Datagram.getAddress()
Get the address of the datagram.
|
String |
SecurityInfo.getCipherSuite()
Returns the name of the cipher suite in use for the connection.
|
String |
ContentConnection.getEncoding()
Returns a string describing the encoding of the content which
the resource connected to is providing.
|
String |
HttpConnection.getFile()
Returns the file portion of the URL of this
HttpConnection . |
static String |
PushRegistry.getFilter(String connection)
Retrieve the registered filter for a requested connection.
|
String |
HttpConnection.getHeaderField(int n)
Gets a header field value by index.
|
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field.
|
String |
HttpConnection.getHeaderFieldKey(int n)
Gets a header field key by index.
|
String |
HttpConnection.getHost()
Returns the host information of the URL of
this
HttpConnection . |
String |
UDPDatagramConnection.getLocalAddress()
Gets the local address to which the
datagram connection is bound.
|
String |
SocketConnection.getLocalAddress()
Gets the local address to which the socket is bound.
|
String |
ServerSocketConnection.getLocalAddress()
Gets the local address to which the socket is bound.
|
static String |
PushRegistry.getMIDlet(String connection)
Retrieve the registered
MIDlet for a requested connection. |
String |
HttpConnection.getProtocol()
Returns the protocol name of the URL of this
HttpConnection . |
String |
SecurityInfo.getProtocolName()
Returns the secure protocol name.
|
String |
SecurityInfo.getProtocolVersion()
Returns the protocol version.
|
String |
HttpConnection.getQuery()
Returns the query portion of the URL of this
HttpConnection . |
String |
HttpConnection.getRef()
Returns the ref portion of the URL of this
HttpConnection . |
String |
HttpConnection.getRequestMethod()
Get the current request method.
|
String |
HttpConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
String |
HttpConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
String |
ContentConnection.getType()
Returns the type of content that the resource connected to is
providing.
|
String |
HttpConnection.getURL()
Return a string representation of the URL for this connection.
|
static String[] |
PushRegistry.listConnections(boolean available)
Return a list of registered connections for the current
MIDlet suite. |
Modifier and Type | Method and Description |
---|---|
static String |
PushRegistry.getFilter(String connection)
Retrieve the registered filter for a requested connection.
|
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field.
|
long |
HttpConnection.getHeaderFieldDate(String name,
long def)
Returns the value of the named field parsed as date.
|
int |
HttpConnection.getHeaderFieldInt(String name,
int def)
Returns the value of the named field parsed as a number.
|
static String |
PushRegistry.getMIDlet(String connection)
Retrieve the registered
MIDlet for a requested connection. |
String |
HttpConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size,
String addr)
Make a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(int size,
String addr)
Create a new datagram object.
|
static Connection |
Connector.open(String name)
Create and open a Connection.
|
static Connection |
Connector.open(String name,
int mode)
Create and open a Connection.
|
static Connection |
Connector.open(String name,
int mode,
boolean timeouts)
Create and open a Connection.
|
static DataInputStream |
Connector.openDataInputStream(String name)
Create and open a connection input stream.
|
static DataOutputStream |
Connector.openDataOutputStream(String name)
Create and open a connection output stream.
|
static InputStream |
Connector.openInputStream(String name)
Create and open a connection input stream.
|
static OutputStream |
Connector.openOutputStream(String name)
Create and open a connection output stream.
|
static long |
PushRegistry.registerAlarm(String midlet,
long time)
Register a time to launch the specified application.
|
static void |
PushRegistry.registerConnection(String connection,
String midlet,
String filter)
Register a dynamic connection with the
application management software.
|
void |
Datagram.setAddress(String addr)
Set datagram address.
|
void |
HttpConnection.setRequestMethod(String method)
Set the method for the URL request, one of:
GET
POST
HEAD
are legal, subject to protocol restrictions.
|
void |
HttpConnection.setRequestProperty(String key,
String value)
Sets the general request property.
|
static boolean |
PushRegistry.unregisterConnection(String connection)
Remove a dynamic connection registration.
|
Constructor and Description |
---|
ConnectionNotFoundException(String s)
Constructs a ConnectionNotFoundException with the
specified detail message.
|
Modifier and Type | Field and Description |
---|---|
static String |
PlayerListener.CLOSED
Posted when a
Player is closed. |
static String |
PlayerListener.DEVICE_AVAILABLE
Posted when the system or another higher priority
application has released an exclusive device
which is now available to the
Player . |
static String |
PlayerListener.DEVICE_UNAVAILABLE
Posted when the system or another higher priority
application has temporarily taken control of an
exclusive device which was
previously available to the
Player . |
static String |
PlayerListener.DURATION_UPDATED
Posted when the duration of a
Player is updated. |
static String |
PlayerListener.END_OF_MEDIA
Posted when a
Player has reached the
end of the media. |
static String |
PlayerListener.ERROR
Posted when an error had occurred.
|
static String |
PlayerListener.STARTED
Posted when a
Player is started. |
static String |
PlayerListener.STOPPED
Posted when a
Player stops in response to the
stop method call. |
static String |
Manager.TONE_DEVICE_LOCATOR
The locator to create a tone
Player
to play back tone sequences. |
static String |
PlayerListener.VOLUME_CHANGED
Posted when the volume of an audio device is changed.
|
Modifier and Type | Method and Description |
---|---|
String |
Player.getContentType() |
static String[] |
Manager.getSupportedContentTypes(String protocol)
Return the list of supported content types for the given protocol.
|
static String[] |
Manager.getSupportedProtocols(String content_type)
Return the list of supported protocols given the content
type.
|
Modifier and Type | Method and Description |
---|---|
static Player |
Manager.createPlayer(InputStream stream,
String type)
Create a
Player to play back media from an
InputStream . |
static Player |
Manager.createPlayer(String locator)
Create a
Player from an input locator. |
Control |
Controllable.getControl(String controlType)
Obtain the object that implements the specified
Control interface. |
static String[] |
Manager.getSupportedContentTypes(String protocol)
Return the list of supported content types for the given protocol.
|
static String[] |
Manager.getSupportedProtocols(String content_type)
Return the list of supported protocols given the content
type.
|
void |
PlayerListener.playerUpdate(Player player,
String event,
Object eventData)
This method is called to deliver an event to a registered
listener when a
Player event is observed. |
Constructor and Description |
---|
MediaException(String reason)
Constructs a
MediaException with the specified detail
message. |
Modifier and Type | Method and Description |
---|---|
String |
MIDlet.getAppProperty(String key)
Provides a
MIDlet with a mechanism to retrieve named
properties from the application management software. |
Modifier and Type | Method and Description |
---|---|
int |
MIDlet.checkPermission(String permission)
Deprecated.
The permissions model in this specification does not use
named permissions.
|
String |
MIDlet.getAppProperty(String key)
Provides a
MIDlet with a mechanism to retrieve named
properties from the application management software. |
boolean |
MIDlet.platformRequest(String URL)
Requests that the device handle (for example, display or
install) the indicated URL.
|
Constructor and Description |
---|
MIDletStateChangeException(String s)
Constructs an exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
String |
Certificate.getIssuer()
Gets the name of this certificate's issuer.
|
String |
Certificate.getSerialNumber()
Gets the printable form of the serial number of this
Certificate . |
String |
Certificate.getSigAlgName()
Gets the name of the algorithm used to sign the
Certificate . |
String |
Certificate.getSubject()
Gets the name of this certificate's subject.
|
String |
Certificate.getType()
Get the type of the
Certificate . |
String |
Certificate.getVersion()
Gets the version number of this
Certificate . |
Constructor and Description |
---|
CertificateException(String message,
Certificate certificate,
byte status)
Create a new exception with a message,
Certificate ,
and specific error reason. |
Modifier and Type | Method and Description |
---|---|
String |
RecordStore.getName()
Returns the name of this RecordStore.
|
static String[] |
RecordStore.listRecordStores()
Returns an array of the names of record stores owned by the
MIDlet suite.
|
Modifier and Type | Method and Description |
---|---|
static void |
RecordStore.deleteRecordStore(String recordStoreName)
Deletes the named record store.
|
static RecordStore |
RecordStore.openRecordStore(String recordStoreName,
boolean createIfNecessary)
Open (and possibly create) a record store associated with the
given MIDlet suite.
|
static RecordStore |
RecordStore.openRecordStore(String recordStoreName,
boolean createIfNecessary,
int authmode,
boolean writable)
Open (and possibly create) a record store that can be shared
with other MIDlet suites.
|
static RecordStore |
RecordStore.openRecordStore(String recordStoreName,
String vendorName,
String suiteName)
Open a record store associated with the named MIDlet suite.
|
Constructor and Description |
---|
InvalidRecordIDException(String message)
Constructs a new
InvalidRecordIDException with the
specified detail message. |
RecordStoreException(String message)
Constructs a new
RecordStoreException with the
specified detail message. |
RecordStoreFullException(String message)
Constructs a new
RecordStoreFullException with the
specified detail message. |
RecordStoreNotFoundException(String message)
Constructs a new
RecordStoreNotFoundException with the
specified detail message. |
RecordStoreNotOpenException(String message)
Constructs a new
RecordStoreNotOpenException with the
specified detail message. |
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.