|
![]() |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IOException | |
com.siemens.mp.gsm | Siemens GSM package provides some functionality for voice calls and SMS support. |
com.siemens.mp.io | Siemens IO package offers support for data transfer operations to and from the handset’s file system as well as using external SMS or IrDA (infrared interface) connections or the internal SMS loopback interface. |
com.siemens.mp.lcdui | Siemens LCDUI API provides an improved implementation of the javax.microedition.lcdui.Image class. |
com.siemens.mp.media | The Siemens Media API is a directly compatible building block of the Mobile Media API (JSR-135) specification. |
com.siemens.mp.ui | Siemens User Interface API provides the base class for com.siemens.mp.lcdui.Image . |
java.io | Provides for system input and output through data streams. |
javax.microedition.io | MID Profile includes networking support based on the
GenericConnection framework from the Connected
Limited Device Configuration.
|
javax.microedition.lcdui | The UI API provides a set of features for implementation of user interfaces for MIDP applications. |
Uses of IOException in com.siemens.mp.gsm |
Methods in com.siemens.mp.gsm that throw IOException | |
static int |
SMS.send(String number,
String data)
Sends an sms to the specified number. |
static int |
SMS.send(String number,
byte[] data)
Sends a data sms to the specified number. |
Uses of IOException in com.siemens.mp.io |
Methods in com.siemens.mp.io that throw IOException | |
int |
File.open(String fileName)
Opens the file specified by the file name and prepares it for reading or writing. |
int |
File.seek(int fileDescriptor,
int seekpos)
Moves the file pointer to the specified location. |
int |
File.length(int fileDescriptor)
Returns the file length, in bytes. |
int |
File.close(int fileDescriptor)
Closes the file. |
int |
File.write(int fileDescriptor,
byte[] buf,
int offset,
int numBytes)
Writes numBytes bytes from buffer to a file. |
int |
File.read(int fileDescriptor,
byte[] buf,
int offset,
int numBytes)
Reads a maximum of numBytes bytes into a buffer from a file. |
static int |
File.delete(String fileName)
Deletes the file specified by its file name from the storage directory. |
static int |
File.spaceAvailable()
Returns the free disk space (in bytes), available on the phone's file system. |
static int |
File.rename(String source,
String dest)
Renames a file from source filename to destination filename. |
static int |
File.copy(String source,
String dest)
Creates a file copy. |
static boolean |
File.isDirectory(String pathName)
Checks if the given path specifies a directory |
static String[] |
File.list(String pathName)
Lists the content of a directory |
static void |
File.truncate(int fileDescriptor,
int size)
Set the size of a file |
Uses of IOException in com.siemens.mp.lcdui |
Methods in com.siemens.mp.lcdui that throw IOException | |
static void |
Image.writeBmpToFile(Image image,
String filename)
write an image to a BMP picture file |
static Image |
Image.createImageFromFile(String filename,
boolean ScaleToFullScreen)
Create an image from a PNG/JPG/GIF/BMP file. |
static Image |
Image.createImageFromFile(String filename,
int ScaleToWidth,
int ScaleToHeight)
Create an image from a PNG/JPG/GIF/BMP file. |
Uses of IOException in com.siemens.mp.media |
Methods in com.siemens.mp.media that throw IOException | |
static Player |
Manager.createPlayer(String locator)
Create a Player from the input locator. |
static Player |
Manager.createPlayer(InputStream stream,
String type)
Create a Player to play back media from an
InputStream .
|
static Player |
Manager.createPlayer(com.siemens.mp.media.protocol.DataSource source)
Create a Player for a DataSource . |
Uses of IOException in com.siemens.mp.ui |
Methods in com.siemens.mp.ui that throw IOException | |
static Image |
Image.createImageWithScaling(String name)
Creates an immutable image from decoded image data obtained from the named resource. |
static Image |
Image.createImageWithoutScaling(String name)
Creates an immutable image from decoded image data obtained from the named resource. |
static Image |
Image.createRGBImage(byte[] imageData,
int imageWidth,
int imageHeight,
int BitmapType)
Creates a new image from uncompressed color data. |
Constructors in com.siemens.mp.ui that throw IOException | |
Image(String name,
boolean doScale)
Creates a new image from PNG/JPG/GIF/BMP resource |
|
Image(byte[] bytes,
int imageWidth,
int imageHeight,
int BitmapType)
Creates a new image from uncompressed color data. |
Uses of IOException in java.io |
Subclasses of IOException in java.io | |
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. |
Methods in java.io that throw IOException | |
void |
ByteArrayInputStream.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 |
DataInput.readFully(byte[] b)
Reads some bytes from an input stream and stores them into the buffer array b . |
void |
DataInput.readFully(byte[] b,
int off,
int len)
Reads len
bytes from
an input stream.
|
int |
DataInput.skipBytes(int n)
Makes an attempt to skip over n bytes
of data from the input
stream, discarding the skipped bytes. |
boolean |
DataInput.readBoolean()
Reads one input byte and returns true if that byte is nonzero,
false if that byte is zero.
|
byte |
DataInput.readByte()
Reads and returns one input byte. |
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 .
|
short |
DataInput.readShort()
Reads two input bytes and returns a short value. |
int |
DataInput.readUnsignedShort()
Reads two input bytes and returns an int value in the range 0
through 65535 . |
char |
DataInput.readChar()
Reads an input char and returns the char value.
|
int |
DataInput.readInt()
Reads four input bytes and returns an int value. |
long |
DataInput.readLong()
Reads eight input bytes and returns a long value. |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a modified UTF-8 format. |
int |
DataInputStream.read()
Reads the next byte of data from this input stream. |
int |
DataInputStream.read(byte[] b)
See the general contract of the read
method of DataInput .
|
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. |
void |
DataInputStream.readFully(byte[] b)
See the general contract of the readFully
method of DataInput .
|
void |
DataInputStream.readFully(byte[] b,
int off,
int len)
See the general contract of the readFully
method of DataInput .
|
int |
DataInputStream.skipBytes(int n)
See the general contract of the skipBytes
method of DataInput .
|
boolean |
DataInputStream.readBoolean()
See the general contract of the readBoolean
method of DataInput .
|
byte |
DataInputStream.readByte()
See the general contract of the readByte
method of DataInput .
|
int |
DataInputStream.readUnsignedByte()
See the general contract of the readUnsignedByte
method of DataInput .
|
short |
DataInputStream.readShort()
See the general contract of the readShort
method of DataInput .
|
int |
DataInputStream.readUnsignedShort()
See the general contract of the readUnsignedShort
method of DataInput .
|
char |
DataInputStream.readChar()
See the general contract of the readChar
method of DataInput .
|
int |
DataInputStream.readInt()
See the general contract of the readInt
method of DataInput .
|
long |
DataInputStream.readLong()
See the general contract of the readLong
method of DataInput .
|
String |
DataInputStream.readUTF()
See the general contract of the readUTF
method of DataInput .
|
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 .
|
long |
DataInputStream.skip(long n)
Skips over and discards n bytes of data from the
input stream. |
int |
DataInputStream.available()
Returns the number of bytes that can be read from this input stream without blocking. |
void |
DataInputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
void |
DataInputStream.reset()
Repositions this stream to the position at the time the mark method was last called on this input stream.
|
void |
DataOutput.write(int b)
Writes to the output stream the eight low-order bits of the argument b .
|
void |
DataOutput.write(byte[] b)
Writes to the output stream all the bytes in array b .
|
void |
DataOutput.write(byte[] b,
int off,
int len)
Writes len bytes from array
b , in order, to
the output stream. |
void |
DataOutput.writeBoolean(boolean v)
Writes a boolean value to this output stream.
|
void |
DataOutput.writeByte(int v)
Writes to the output stream the eight low- order bits of the argument v .
|
void |
DataOutput.writeShort(int v)
Writes two bytes to the output stream to represent the value of the argument. |
void |
DataOutput.writeChar(int v)
Writes a char value, which
is comprised of two bytes, to the
output stream.
|
void |
DataOutput.writeInt(int v)
Writes an int value, which is
comprised of four bytes, to the output stream.
|
void |
DataOutput.writeLong(long v)
Writes an long value, which is
comprised of four bytes, to the output stream.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string s ,
to the output stream, in order,
two bytes per character. |
void |
DataOutput.writeUTF(String str)
Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s .
|
void |
DataOutputStream.write(int b)
Writes the specified byte (the low eight bits of the argument b ) to the underlying 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 |
DataOutputStream.flush()
Flushes this data output stream. |
void |
DataOutputStream.close()
Closes this output stream and releases any system resources associated with the stream. |
void |
DataOutputStream.writeBoolean(boolean v)
Writes a boolean to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeByte(int v)
Writes out a byte to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeShort(int v)
Writes a short to the underlying output stream as two
bytes, high byte first. |
void |
DataOutputStream.writeChar(int v)
Writes a char to the underlying output stream as a
2-byte value, high byte first. |
void |
DataOutputStream.writeInt(int v)
Writes an int to the underlying output stream as four
bytes, high byte first. |
void |
DataOutputStream.writeLong(long v)
Writes a long to the underlying output stream as eight
bytes, high byte first. |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of characters. |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner. |
abstract int |
InputStream.read()
Reads the next byte of data from the 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 |
InputStream.read(byte[] b,
int off,
int len)
Reads up to len bytes of data from the input stream into
an array of bytes. |
long |
InputStream.skip(long n)
Skips over and discards n bytes of data from this input
stream. |
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. |
void |
InputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
void |
InputStream.reset()
Repositions this stream to the position at the time the mark method was last called on this input stream.
|
int |
InputStreamReader.read()
Read a single character. |
int |
InputStreamReader.read(char[] cbuf,
int off,
int len)
Read characters into a portion of an array. |
long |
InputStreamReader.skip(long n)
Skip characters. |
boolean |
InputStreamReader.ready()
Tell whether this stream is ready to be read. |
void |
InputStreamReader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
InputStreamReader.reset()
Reset the stream. |
void |
InputStreamReader.close()
Close the stream. |
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream. |
void |
OutputStream.write(byte[] b)
Writes b.length bytes from the specified byte array
to this output stream. |
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 |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out. |
void |
OutputStream.close()
Closes this output stream and releases any system resources associated with this stream. |
void |
OutputStreamWriter.write(int c)
Write a single character. |
void |
OutputStreamWriter.write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters. |
void |
OutputStreamWriter.write(String str,
int off,
int len)
Write a portion of a string. |
void |
OutputStreamWriter.flush()
Flush the stream. |
void |
OutputStreamWriter.close()
Close the stream. |
int |
Reader.read()
Read a single character. |
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. |
long |
Reader.skip(long n)
Skip characters. |
boolean |
Reader.ready()
Tell whether this stream is ready to be read. |
void |
Reader.mark(int readAheadLimit)
Mark the present position in the stream. |
void |
Reader.reset()
Reset the stream. |
abstract void |
Reader.close()
Close the stream. |
void |
Writer.write(int c)
Write a single character. |
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 |
Writer.write(String str)
Write a string. |
void |
Writer.write(String str,
int off,
int len)
Write a portion of a string. |
abstract void |
Writer.flush()
Flush the stream. |
abstract void |
Writer.close()
Close the stream, flushing it first. |
Uses of IOException in javax.microedition.io |
Subclasses of IOException in javax.microedition.io | |
class |
ConnectionNotFoundException
This class is used to signal that a connection target cannot be found |
Methods in javax.microedition.io that throw IOException | |
void |
Connection.close()
Close the connection. |
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 |
void |
Datagram.setAddress(String addr)
Set datagram address. |
int |
DatagramConnection.getMaximumLength()
Get the maximum length a datagram can be. |
int |
DatagramConnection.getNominalLength()
Get the nominal length of a datagram. |
void |
DatagramConnection.send(Datagram dgram)
Send a datagram |
void |
DatagramConnection.receive(Datagram dgram)
Receive a datagram |
Datagram |
DatagramConnection.newDatagram(int size)
Make a new datagram object automatically allocating a buffer |
Datagram |
DatagramConnection.newDatagram(int size,
String addr)
Make a new datagram object |
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size)
Make a new datagram object |
Datagram |
DatagramConnection.newDatagram(byte[] buf,
int size,
String addr)
Make a new datagram object |
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. |
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. |
long |
HttpConnection.getExpiration()
Returns the value of the expires header field. |
long |
HttpConnection.getDate()
Returns the value of the date header field. |
long |
HttpConnection.getLastModified()
Returns the value of the last-modified header field.
|
String |
HttpConnection.getHeaderField(String name)
Returns the value of the named header field. |
int |
HttpConnection.getHeaderFieldInt(String name,
int def)
Returns the value of the named field parsed as a number. |
long |
HttpConnection.getHeaderFieldDate(String name,
long def)
Returns the value of the named field parsed as date. |
String |
HttpConnection.getHeaderField(int n)
Gets a header field value by index. |
String |
HttpConnection.getHeaderFieldKey(int n)
Gets a header field key by index. |
InputStream |
InputConnection.openInputStream()
Open and return an input stream for a connection. |
DataInputStream |
InputConnection.openDataInputStream()
Open and return a data input stream for a connection. |
OutputStream |
OutputConnection.openOutputStream()
Open and return an output stream for a connection. |
DataOutputStream |
OutputConnection.openDataOutputStream()
Open and return a data output stream for a connection. |
StreamConnection |
StreamConnectionNotifier.acceptAndOpen()
Returns a StreamConnection that represents a server side
socket connection |
Uses of IOException in javax.microedition.lcdui |
Methods in javax.microedition.lcdui that throw IOException | |
static Image |
Image.createImage(String name)
Creates an immutable image from decoded image data obtained from the named resource. |
static Image |
Image.createImage(String name)
Creates an immutable image from decoded image data obtained from the named resource. |
|
![]() |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Generated on 2003-10-17 | For further information and updates, please visit Siemens mobile Developer Portal |