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.cinterion.serial | |
java.io |
Provides classes for input and output through data streams.
|
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.pki |
Certificates are used to authenticate information for secure
Connections.
|
Modifier and Type | Method and Description |
---|---|
int |
GpsApiMngr.GpsAntennaModeGet() |
int |
GpsApiMngr.GpsAntennaModeSet(int mod) |
int |
GpsApiMngr.GpsAssistConnectionSet(int cid,
int action,
int dev) |
int |
GpsApiMngr.GpsAssistDataGet() |
int |
GpsApiMngr.GpsAssistDataSet(int type,
int mode,
int dev) |
int |
GpsApiMngr.GpsEngineModeGet() |
int |
GpsApiMngr.GpsEngineModeSet(int mod,
int dev) |
int |
GpsApiMngr.GpsPowerAntennaGet() |
int |
GpsApiMngr.GpsPowerAntennaSet(int mod) |
String |
GpsApiMngr.GpsSuplAddrGet() |
int |
GpsApiMngr.GpsSuplAddrPortGet() |
int |
GpsApiMngr.GpsSuplAddrSet(int addr_type,
String addr,
int port) |
int |
GpsApiMngr.GpsSuplAddrTypeGet() |
int |
GpsApiMngr.NmeaFilterGet() |
int |
GpsApiMngr.NmeaFilterSet(int bitmask) |
int |
GpsApiMngr.NmeaFreqGet() |
int |
GpsApiMngr.NmeaFreqSet(int freq) |
int |
GpsApiMngr.NmeaOutputInterfaceRead() |
int |
GpsApiMngr.NmeaOutputInterfaceSwitch(int new_dev) |
int |
GpsApiMngr.NmeaOutputModeChange(int new_mod,
int dev) |
int |
GpsApiMngr.NmeaOutputModeRead() |
int |
GpsApiMngr.PowerSleepGet() |
int |
GpsApiMngr.PowerSleepSet(int mode) |
Constructor and Description |
---|
GpsApiMngr() |
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.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) |
boolean |
CommConnectionControlLines.getDTR()
Get the state of the DTR (Data Terminal Ready) signal of the connected COM port.
|
int |
LimitPulseCounter.getLimit()
Gets the given limit of the GPIO limit pulse counter.
|
int |
StartStopPulseCounter.getValue()
Read out current pulse value.
|
int |
OutPort.getValue()
Gets the current value of an instance of a GPIO port of output pins.
|
int |
InPort.getValue()
Gets the current value of an instance of a GPIO port of input pins.
|
int |
ADC.getValue()
Gets a single sample value.
|
void |
ATCommand.release()
Release resources locked by the ATCommand class.
|
void |
StartStopPulseCounter.release()
Releases the GPIO start/stop pulse counter.
|
void |
OutPort.release()
Releases an instance of a GPIO port of output pins.
|
void |
LimitPulseCounter.release()
Releases the GPIO limit pulse counter.
|
void |
InPort.release()
Releases an instance of a GPIO port of input pins.
|
void |
DAC.release()
Releases all HW resources.
|
void |
ADC.release()
Stops and removes the listeners and releases all HW resources.
|
void |
StartStopPulseCounter.resume()
Resume pulse counter from the pulse value of the last run.
|
void |
CommConnectionControlLines.setDCD(boolean signalState)
Set the state of the DCD (Data Carrier Detect) signal of the connected COM port
channel.
|
void |
CommConnectionControlLines.setDSR(boolean signalState)
Set the state of the DSR (Data Set Ready) signal of the connected COM port
channel.
|
void |
ATCommand.setDTR(boolean SignalState)
Set the state of the DTR (Data Terminal Ready) signal of the devices AT
channel.
|
void |
DAC.setDutyCycle(int dutyCycle)
Sets the duty cycle.
|
void |
CommConnectionControlLines.setRING(boolean signalState)
Set the state of the RING signal of the connected COM port
channel.
|
void |
OutPort.setValue(int portValue)
Sets the current value of an instance of a GPIO port of output pins.
|
void |
StartStopPulseCounter.start()
Reset and start pulse counter from 0.
|
int |
StartStopPulseCounter.stop()
Stops the pulse counter and returns the number of pulses counted until this time.
|
void |
LimitPulseCounter.stop()
Stops the GPIO limit pulse counter.
|
Constructor and Description |
---|
ADC(int channel,
int interval)
Creates a new instance of the ADC class.
|
DAC(int pwmChannel)
Gets PWM frequency and duty cycle values of already active DAC channel i.e.
|
DAC(int pwmFreq,
int startDutyCycle)
Deprecated.
use
DAC.DAC(int, int, int) instead |
DAC(int pwmChannel,
int pwmFreq,
int startDutyCycle)
Creates a new instance of the DAC class.
|
InPort(Vector pins)
Creates a new instance of a GPIO port of input pins.
|
LimitPulseCounter(int limit)
Creates a new instance of a GPIO limit pulse counter.
|
OutPort(Vector pins,
Vector values)
Creates a new instance of a GPIO port of output pins.
|
StartStopPulseCounter()
Creates a new instance of GPIO start/stop pulse counter.
|
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 void |
LandmarkStore.createLandmarkStore(String storeName)
Creates a new empty landmark store.
|
void |
LandmarkStore.deleteCategory(String categoryName)
Removes a category from this
LandmarkStore . |
void |
LandmarkStore.deleteLandmark(Landmark lm)
Deletes a landmark from this
LandmarkStore . |
static void |
LandmarkStore.deleteLandmarkStore(String storeName)
Deletes a landmark store.
|
Enumeration |
LandmarkStore.getLandmarks()
Returns all landmarks stored in the landmark store.
|
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.
|
static String[] |
LandmarkStore.listLandmarkStores()
Returns the names of all the available landmark stores.
|
void |
LandmarkStore.removeLandmarkFromCategory(Landmark lm,
String category)
Removes a landmark from the given category.
|
void |
LandmarkStore.updateLandmark(Landmark lm)
Updates the information about a landmark.
|
Modifier and Type | Method and Description |
---|---|
static int |
NetExtension.GetTcpIRT()
Get TCP initial retransmission timeout for this midlet, if set with SetTcpIRT
|
static int |
NetExtension.GetTcpNR()
Get TCP number of retransmissions for this midlet, if set with GetTcpNR
|
static int |
NetExtension.GetTcpOT()
Get TCP retransmission overall timeout for this midlet, if set with GetTcpOT
|
static int |
NetExtension.GetTcpSMRT()
Get TCP SYN packet retransmission overall timeout for this midlet, if set with SetTcpSMRT
|
static int |
NetExtension.GetTcpSNR()
Get number of TCP SYN packet retransmissions for this midlet, if set with SetTcpSNR
|
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
|
static void |
NetExtension.SetTcpIRT(int irt)
Set TCP initial retransmission timeout for every next opened socket of this midlet
|
static void |
NetExtension.SetTcpNR(int nr)
Set TCP number of retransmissions for every next opened socket of this midlet
|
static void |
NetExtension.SetTcpOT(int ot)
Set TCP retransmission overall timeout for every next opened socket of this midlet.
|
static void |
NetExtension.SetTcpSMRT(int smrt)
Set TCP SYN packet retransmission overall timeout for every next opened socket of this midlet
|
static void |
NetExtension.SetTcpSNR(int snr)
Set TCP number of SYN packet retransmissions for every next opened socket of this midlet
|
Modifier and Type | Method and Description |
---|---|
int |
SerialSettings.GetCharacterFramingFormat(int dev) |
int |
SerialSettings.GetCharacterFramingParity(int dev) |
int |
SerialSettings.SetCharacterFraming(int format,
int parity,
int dev) |
Constructor and Description |
---|
SerialSettings() |
Modifier and Type | Class and Description |
---|---|
class |
EOFException
Signals that an end of file or end of stream has been reached
unexpectedly during input.
|
class |
InterruptedIOException
Signals that an I/O operation has been interrupted.
|
class |
UnsupportedEncodingException
The Character Encoding is not supported.
|
class |
UTFDataFormatException
Signals that a malformed UTF-8 string has been read in a data
input stream or by any class that implements the data input
interface.
|
Modifier and Type | Method and Description |
---|---|
int |
InputStream.available()
Returns the number of bytes that can be read (or skipped over) from
this input stream without blocking by the next caller of a method for
this input stream.
|
int |
DataInputStream.available()
Returns the number of bytes that can be read from this input
stream without blocking.
|
abstract void |
Writer.close()
Close the stream, flushing it first.
|
abstract void |
Reader.close()
Close the stream.
|
void |
OutputStreamWriter.close()
Close the stream.
|
void |
OutputStream.close()
Closes this output stream and releases any system resources
associated with this stream.
|
void |
InputStreamReader.close()
Close the stream.
|
void |
InputStream.close()
Closes this input stream and releases any system resources associated
with the stream.
|
void |
DataOutputStream.close()
Closes this output stream and releases any system resources
associated with the stream.
|
void |
DataInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
void |
ByteArrayOutputStream.close()
Closes this output stream and releases any system resources
associated with this stream.
|
void |
ByteArrayInputStream.close()
Closes this input stream and releases any system resources
associated with the stream.
|
abstract void |
Writer.flush()
Flush the stream.
|
void |
OutputStreamWriter.flush()
Flush the stream.
|
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
void |
DataOutputStream.flush()
Flushes this data output stream.
|
void |
Reader.mark(int readAheadLimit)
Mark the present position in the stream.
|
void |
InputStreamReader.mark(int readAheadLimit)
Mark the present position in the stream.
|
int |
Reader.read()
Read a single character.
|
int |
InputStreamReader.read()
Read a single character.
|
abstract int |
InputStream.read()
Reads the next byte of data from the input stream.
|
int |
DataInputStream.read()
Reads the next byte of data from this input stream.
|
int |
InputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into
the buffer array
b . |
int |
DataInputStream.read(byte[] b)
See the general contract of the
read
method of DataInput . |
int |
InputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the input stream into
an array of bytes. |
int |
DataInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this input stream
into an array of bytes. |
int |
Reader.read(char[] cbuf)
Read characters into an array.
|
abstract int |
Reader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
int |
InputStreamReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array.
|
boolean |
DataInputStream.readBoolean()
See the general contract of the
readBoolean
method of DataInput . |
boolean |
DataInput.readBoolean()
Reads one input byte and returns
true if that byte is nonzero,
false if that byte is zero. |
byte |
DataInputStream.readByte()
See the general contract of the
readByte
method of DataInput . |
byte |
DataInput.readByte()
Reads and returns one input byte.
|
char |
DataInputStream.readChar()
See the general contract of the
readChar
method of DataInput . |
char |
DataInput.readChar()
Reads an input
char and returns the char value. |
double |
DataInputStream.readDouble()
See the general contract of the
readDouble
method of DataInput . |
double |
DataInput.readDouble()
Reads eight input bytes and returns
a
double value. |
float |
DataInputStream.readFloat()
See the general contract of the
readFloat
method of DataInput . |
float |
DataInput.readFloat()
Reads four input bytes and returns
a
float value. |
void |
DataInputStream.readFully(byte[] b)
See the general contract of the
readFully
method of DataInput . |
void |
DataInput.readFully(byte[] b)
Reads some bytes from an input
stream and stores them into the buffer
array
b . |
void |
DataInputStream.readFully(byte[] b,
int off,
int len)
See the general contract of the
readFully
method of DataInput . |
void |
DataInput.readFully(byte[] b,
int off,
int len)
Reads
len
bytes from
an input stream. |
int |
DataInputStream.readInt()
See the general contract of the
readInt
method of DataInput . |
int |
DataInput.readInt()
Reads four input bytes and returns an
int value. |
long |
DataInputStream.readLong()
See the general contract of the
readLong
method of DataInput . |
long |
DataInput.readLong()
Reads eight input bytes and returns
a
long value. |
short |
DataInputStream.readShort()
See the general contract of the
readShort
method of DataInput . |
short |
DataInput.readShort()
Reads two input bytes and returns
a
short value. |
int |
DataInputStream.readUnsignedByte()
See the general contract of the
readUnsignedByte
method of DataInput . |
int |
DataInput.readUnsignedByte()
Reads one input byte, zero-extends
it to type
int , and returns
the result, which is therefore in the range
0
through 255 . |
int |
DataInputStream.readUnsignedShort()
See the general contract of the
readUnsignedShort
method of DataInput . |
int |
DataInput.readUnsignedShort()
Reads two input bytes, zero-extends
it to type
int , and returns
an int value in the range 0
through 65535 . |
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 . |
boolean |
Reader.ready()
Tell whether this stream is ready to be read.
|
boolean |
InputStreamReader.ready()
Tell whether this stream is ready to be read.
|
void |
Reader.reset()
Reset the stream.
|
void |
InputStreamReader.reset()
Reset the stream.
|
void |
InputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream. |
void |
DataInputStream.reset()
Repositions this stream to the position at the time the
mark method was last called on this input stream. |
long |
Reader.skip(long n)
Skip characters.
|
long |
InputStreamReader.skip(long n)
Skip characters.
|
long |
InputStream.skip(long n)
Skips over and discards
n bytes of data from this input
stream. |
long |
DataInputStream.skip(long n)
Skips over and discards
n bytes of data from the
input stream. |
int |
DataInputStream.skipBytes(int n)
See the general contract of the
skipBytes
method of DataInput . |
int |
DataInput.skipBytes(int n)
Makes an attempt to skip over
n bytes
of data from the input stream, discarding the skipped
bytes. |
void |
OutputStream.write(byte[] b)
Writes
b.length bytes from the specified byte array
to this output stream. |
void |
DataOutput.write(byte[] b)
Writes to the output stream all the bytes in array
b . |
void |
OutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this output stream. |
void |
DataOutputStream.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to the underlying output stream. |
void |
DataOutput.write(byte[] b,
int off,
int len)
Writes
len bytes from array
b , in order, to
the output stream. |
void |
Writer.write(char[] cbuf)
Write an array of characters.
|
abstract void |
Writer.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
OutputStreamWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters.
|
void |
Writer.write(int c)
Write a single character.
|
void |
OutputStreamWriter.write(int c)
Write a single character.
|
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream.
|
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument
b ) to the underlying output stream. |
void |
DataOutput.write(int b)
Writes to the output stream the eight
low-order bits of the argument
b . |
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.writeBoolean(boolean v)
Writes a
boolean to the underlying output stream as
a 1-byte value. |
void |
DataOutput.writeBoolean(boolean v)
Writes a
boolean value to this output stream. |
void |
DataOutputStream.writeByte(int v)
Writes out a
byte to the underlying output stream as
a 1-byte value. |
void |
DataOutput.writeByte(int v)
Writes to the output stream the eight low-
order bits of the argument
v . |
void |
DataOutputStream.writeChar(int v)
Writes a
char to the underlying output stream as a
2-byte value, high byte first. |
void |
DataOutput.writeChar(int v)
Writes a
char value, which
is comprised of two bytes, to the
output stream. |
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.writeDouble(double v)
Converts the double argument to a
long using the
doubleToLongBits method in class Double ,
and then writes that long value to the underlying
output stream as an 8-byte quantity, high byte first. |
void |
DataOutput.writeDouble(double v)
Writes a
double value,
which is comprised of eight bytes, to the output stream. |
void |
DataOutputStream.writeFloat(float v)
Converts the float argument to an
int using the
floatToIntBits method in class Float ,
and then writes that int value to the underlying
output stream as a 4-byte quantity, high byte first. |
void |
DataOutput.writeFloat(float v)
Writes a
float value,
which is comprised of four bytes, to the output stream. |
void |
DataOutputStream.writeInt(int v)
Writes an
int to the underlying output stream as four
bytes, high byte first. |
void |
DataOutput.writeInt(int v)
Writes an
int value, which is
comprised of four bytes, to the output stream. |
void |
DataOutputStream.writeLong(long v)
Writes a
long to the underlying output stream as eight
bytes, high byte first. |
void |
DataOutput.writeLong(long v)
Writes an
long value, which is
comprised of four bytes, to the output stream. |
void |
DataOutputStream.writeShort(int v)
Writes a
short to the underlying output stream as two
bytes, high byte first. |
void |
DataOutput.writeShort(int v)
Writes two bytes to the output
stream to represent the value of the argument.
|
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 . |
Modifier and Type | Class and Description |
---|---|
class |
ConnectionNotFoundException
This class is used to signal that a connection target
cannot be found, or the protocol type is not supported.
|
Modifier and Type | Method and Description |
---|---|
StreamConnection |
StreamConnectionNotifier.acceptAndOpen()
Returns a
StreamConnection object that represents
a server side socket connection. |
void |
Connection.close()
Close the connection.
|
String |
SocketConnection.getAddress()
Gets the remote address to which the socket is bound.
|
long |
HttpConnection.getDate()
Returns the value of the
date header field. |
long |
HttpConnection.getExpiration()
Returns the value of the
expires header field. |
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.
|
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.
|
String |
HttpConnection.getHeaderFieldKey(int n)
Gets a header field key by index.
|
long |
HttpConnection.getLastModified()
Returns the value of the
last-modified header field. |
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.
|
int |
UDPDatagramConnection.getLocalPort()
Returns the local port to which this datagram connection is bound.
|
int |
SocketConnection.getLocalPort()
Returns the local port to which this socket is bound.
|
int |
ServerSocketConnection.getLocalPort()
Returns the local port to which this socket is bound.
|
int |
DatagramConnection.getMaximumLength()
Get the maximum length a datagram can be.
|
int |
DatagramConnection.getNominalLength()
Get the nominal length of a datagram.
|
int |
SocketConnection.getPort()
Returns the remote port to which this socket is bound.
|
int |
HttpConnection.getResponseCode()
Returns the HTTP response status code.
|
String |
HttpConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
SecurityInfo |
SecureConnection.getSecurityInfo()
Return the security information associated with this connection
when it was opened.
|
SecurityInfo |
HttpsConnection.getSecurityInfo()
Return the security information associated with this
successfully opened connection.
|
int |
SocketConnection.getSocketOption(byte option)
Get a socket option for the connection.
|
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size)
Create a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size,
String addr)
Make a new datagram object.
|
Datagram |
DatagramConnection.newDatagram(int size)
Create 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.
|
DataInputStream |
InputConnection.openDataInputStream()
Open and return a data input stream for a connection.
|
static DataInputStream |
Connector.openDataInputStream(String name)
Create and open a connection input stream.
|
DataOutputStream |
OutputConnection.openDataOutputStream()
Open and return a data output stream for a connection.
|
static DataOutputStream |
Connector.openDataOutputStream(String name)
Create and open a connection output stream.
|
InputStream |
InputConnection.openInputStream()
Open and return an input stream for a connection.
|
static InputStream |
Connector.openInputStream(String name)
Create and open a connection input stream.
|
OutputStream |
OutputConnection.openOutputStream()
Open and return an output stream for a connection.
|
static OutputStream |
Connector.openOutputStream(String name)
Create and open a connection output stream.
|
void |
DatagramConnection.receive(Datagram dgram)
Receive a datagram.
|
static void |
PushRegistry.registerConnection(String connection,
String midlet,
String filter)
Register a dynamic connection with the
application management software.
|
void |
DatagramConnection.send(Datagram dgram)
Send a datagram.
|
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.
|
void |
SocketConnection.setSocketOption(byte option,
int value)
Set a socket option for the connection.
|
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. |
Modifier and Type | Class and Description |
---|---|
class |
CertificateException
The
CertificateException encapsulates an error that
occurred while a Certificate is being used. |
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.