|
DCT Lightfoot v3 API specification | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use IOException | |
| com.dctl.hardware.flash | |
| com.dctl.j2me.i18n | |
| com.dctl.j2me.io | |
| com.dctl.j2me.io.comm | |
| com.dctl.j2me.io.datagram | |
| com.dctl.j2me.io.http | |
| com.dctl.j2me.io.httpserver | |
| com.dctl.j2me.io.serversocket | |
| com.dctl.j2me.io.socket | |
| com.dctl.j2me.net | |
| com.dctl.j2me.system | |
| java.io | |
| javax.comm | |
| javax.microedition.io | |
| javax.microedition.lcdui | The UI API provides a set of features for implementation of user interfaces for MIDP applications. |
| Uses of IOException in com.dctl.hardware.flash |
| Methods in com.dctl.hardware.flash that throw IOException | |
void |
FlashFileOutputStream.write(int b)
Write a byte to the file |
void |
FlashFileOutputStream.write(byte[] buf,
int offset,
int length)
Write from a buffer to the file |
int |
FlashFileInputStream.read()
Read a byte from the file |
int |
FlashFileInputStream.read(byte[] buf,
int offset,
int length)
Read from the file into a buffer |
int |
FlashFileInputStream.skip(int amount)
Skip a number of bytes |
int |
FlashFileInputStream.available()
Return how many bytes can be read - this is the remaining length of the file |
void |
FlashFileInputStream.reset()
Reset to the previous marked location |
boolean |
FlashFile.createNewFile()
Create a new file atomically |
static FlashFile |
FlashFile.createTempFile(java.lang.String prefix,
java.lang.String suffix)
Create a temporary file |
static void |
FlashFile.format()
Format the flash file system |
| Constructors in com.dctl.hardware.flash that throw IOException | |
FlashFileOutputStream(FlashFile file)
Create a new Output stream from a file |
|
FlashFileOutputStream(java.lang.String name)
Create a new Output stream from a file |
|
FlashFileOutputStream(FlashFile file,
boolean append)
Create a new Output stream from a file |
|
FlashFileOutputStream(java.lang.String name,
boolean append)
Create a new Output stream from a file |
|
FlashFileInputStream(FlashFile file)
Create a new input stream from a file |
|
FlashFileInputStream(java.lang.String name)
Create a new input stream from a file |
|
| Uses of IOException in com.dctl.j2me.i18n |
| Methods in com.dctl.j2me.i18n that throw IOException | |
int |
SimpleConverter.readCharacter(InputStream is)
Read a single character from an InputStream |
int |
SimpleConverter.readCharacters(char[] c,
int off,
int len,
InputStream is)
Read multiple characters from an InputStream into an array |
void |
SimpleConverter.writeCharacter(char c,
OutputStream os)
Write a single character to the specified OutputStream |
void |
SimpleConverter.writeCharacters(char[] c,
OutputStream os)
Sends an array of characters directly to a specified OutputStream |
void |
SimpleConverter.writeCharacters(char[] c,
int off,
int len,
OutputStream os)
Sends an array of characters directly to a specified OutputStream |
int |
Converter.readCharacter(InputStream is)
Read a single character from an InputStream |
int |
Converter.readCharacters(char[] c,
int off,
int len,
InputStream is)
Read multiple characters from an InputStream into an array |
void |
Converter.writeCharacter(char c,
OutputStream os)
Write a single character to the specified OutputStream |
void |
Converter.writeCharacters(char[] c,
OutputStream os)
Sends an array of characters directly to a specified OutputStream |
void |
Converter.writeCharacters(char[] c,
int off,
int len,
OutputStream os)
Sends an array of characters directly to a specified OutputStream |
| Uses of IOException in com.dctl.j2me.io |
| Methods in com.dctl.j2me.io that throw IOException | |
void |
SwitchableOutputStream.close()
Close the stream. |
void |
SwitchableOutputStream.flush()
Flush the stream. |
void |
SwitchableOutputStream.write(byte[] buf)
Write an array of bytes to the stream |
void |
SwitchableOutputStream.write(byte[] buf,
int off,
int len)
Write an array of bytes to the stream |
void |
SwitchableOutputStream.write(int b)
Write a byte to the stream |
static java.lang.String |
Util.readLine(Reader in)
Read a line from the file. |
void |
HandleOutputStream.close()
Close the stream |
void |
HandleOutputStream.flush()
Flush the stream |
void |
HandleOutputStream.write(byte[] buffer)
Write an array of bytes |
void |
HandleOutputStream.write(byte[] buffer,
int offset,
int length)
Write an array of bytes starting at an offset and continuing for length |
void |
HandleOutputStream.write(int b)
Write one byte |
abstract void |
BaseConnection.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Set the URL, mode and timeouts |
int |
Readable.read()
read a byte |
int |
Readable.read(byte[] b,
int off,
int len)
read a number of bytes from the input stream and store into the byte array |
long |
Readable.skip(long n)
skip a number of bytes from the stream |
void |
Writable.write(int b)
write a byte |
void |
Writable.write(byte[] b,
int off,
int len)
write a number of bytes to the output stream |
| Uses of IOException in com.dctl.j2me.io.comm |
| Methods in com.dctl.j2me.io.comm that throw IOException | |
void |
Connection.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Set the URL, mode and timeouts |
OutputStream |
Connection.openOutputStream()
Open the output stream |
java.io.DataOutputStream |
Connection.openDataOutputStream()
Open the data output stream |
InputStream |
Connection.openInputStream()
Open the input stream |
java.io.DataInputStream |
Connection.openDataInputStream()
Open the data input stream |
void |
Connection.close()
Close the connection |
| Uses of IOException in com.dctl.j2me.io.datagram |
| Methods in com.dctl.j2me.io.datagram that throw IOException | |
void |
Connection.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Set the URL, mode and timeouts |
Datagram |
Connection.newDatagram(byte[] buf,
int len)
Create a new datagram to be used on this connection |
Datagram |
Connection.newDatagram(byte[] buf,
int len,
java.lang.String addr)
Create a new datagram to be used on this connection |
Datagram |
Connection.newDatagram(int len)
Create a new datagram to be used on this connection |
Datagram |
Connection.newDatagram(int len,
java.lang.String addr)
Create a new datagram to be used on this connection |
void |
Connection.receive(Datagram dgram)
Receive a datagram on the connection |
void |
Connection.send(Datagram dgram)
Send a datagram on the connection to the requested address/port |
void |
Connection.close()
Close the socket |
| Uses of IOException in com.dctl.j2me.io.http |
| Methods in com.dctl.j2me.io.http that throw IOException | |
protected void |
Connection.openConnection()
Open the connection using the values in address, port and parameters |
void |
Connection.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Set the URL, mode and timeouts |
void |
Connection.setRequestMethod(java.lang.String method)
Set the request method - only valid until the request has been got |
protected void |
Connection.parseResponse()
Parse the response |
protected boolean |
Connection.handleFirstInput(java.lang.String line)
handle the first input line |
void |
Connection.setRequestProperty(java.lang.String key,
java.lang.String value)
Set the request property for the key. |
int |
Connection.getResponseCode()
Get the response code |
java.lang.String |
Connection.getResponseMessage()
Get the response message |
long |
Connection.getExpiration()
Get the expires header field |
long |
Connection.getDate()
Get the date header field |
long |
Connection.getLastModified()
Get the last modified date |
java.lang.String |
Connection.getHeaderField(java.lang.String name)
Get the header field |
int |
Connection.getHeaderFieldInt(java.lang.String name,
int defaultValue)
Get a header field parsed as a number |
long |
Connection.getHeaderFieldDate(java.lang.String name,
long defaultValue)
Get a header field parsed as a date value |
java.lang.String |
Connection.getHeaderField(int index)
Get a header field indexed by the index |
java.lang.String |
Connection.getHeaderFieldKey(int index)
Get the header field key at the index |
InputStream |
Connection.openInputStream()
Open an input stream |
OutputStream |
Connection.openOutputStream()
Open an output stream if it was not already open. |
static Connection |
Pool.open(java.lang.String url)
Get a connection from the pool, or create a new connection |
void |
BaseHttpConnection.setRequestMethod(java.lang.String method)
Set the request method - only valid until the request has been got |
protected void |
BaseHttpConnection.invalidState()
|
protected abstract void |
BaseHttpConnection.openConnection()
Open the connection |
protected void |
BaseHttpConnection.sendOutput()
Send the request and transition the state |
protected abstract boolean |
BaseHttpConnection.handleFirstInput(java.lang.String line)
handle the first input line |
protected void |
BaseHttpConnection.parseInput()
Parse the input stream |
void |
BaseHttpConnection.close()
Close the connection if the reference count gets to zero |
int |
BaseHttpConnection.getFieldInt(Hashtable table,
java.lang.String name,
int defaultValue)
Get a field parsed as a number |
long |
BaseHttpConnection.getFieldDate(Hashtable table,
java.lang.String name,
long defaultValue)
Get a field parsed as a date value |
java.lang.String |
BaseHttpConnection.getInputFieldKey(int index)
Get the header field key at the index |
InputStream |
BaseHttpConnection.openInputStream()
Open an input stream |
java.io.DataInputStream |
BaseHttpConnection.openDataInputStream()
Open a data input stream |
OutputStream |
BaseHttpConnection.openOutputStream()
Open an output stream if it was not already open. |
java.io.DataOutputStream |
BaseHttpConnection.openDataOutputStream()
Open a data output stream |
| Uses of IOException in com.dctl.j2me.io.httpserver |
| Methods in com.dctl.j2me.io.httpserver that throw IOException | |
void |
Connection.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Open the connection by listening on the specified port, or port 80 by default |
void |
Connection.close()
Close the connection |
StreamConnection |
Connection.acceptAndOpen()
Wait for a connection to come in |
protected void |
HttpServerSocket.openConnection()
Open connection. |
void |
HttpServerSocket.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Set the parameters |
protected boolean |
HttpServerSocket.handleFirstInput(java.lang.String line)
Handle the first input line |
java.lang.String |
HttpServerSocket.getRequestProperty(java.lang.String key)
Read a request property |
int |
HttpServerSocket.getRequestFieldInt(java.lang.String name,
int defaultValue)
Get a request field as an integer |
long |
HttpServerSocket.getRequestFieldDate(java.lang.String name,
int defaultValue)
Get a request field as a date |
java.lang.String |
HttpServerSocket.getRequestField(java.lang.String name)
Get a request field |
void |
HttpServerSocket.setResponseProperty(java.lang.String name,
java.lang.String value)
Set a response property |
InputStream |
HttpServerSocket.openInputStream()
Open the input stream |
OutputStream |
HttpServerSocket.openOutputStream()
Open the output stream |
| Uses of IOException in com.dctl.j2me.io.serversocket |
| Methods in com.dctl.j2me.io.serversocket that throw IOException | |
void |
Connection.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Set the URL, mode and timeouts |
void |
Connection.close()
Close the underlying socket. |
StreamConnection |
Connection.acceptAndOpen()
Accept and open an incoming connection |
| Uses of IOException in com.dctl.j2me.io.socket |
| Methods in com.dctl.j2me.io.socket that throw IOException | |
void |
SocketOutputStream.close()
Close the socket |
void |
SocketOutputStream.write(int b)
Write one byte to the stream |
void |
SocketOutputStream.write(byte[] buf,
int off,
int len)
Write a buffer to the stream |
void |
SocketOutputStream.flush()
flush the buffer |
int |
SocketInputStream.available()
Return the number of available bytes in the buffer |
void |
SocketInputStream.close()
Close the socket |
int |
SocketInputStream.read()
Read one byte of data from the stream |
int |
SocketInputStream.read(byte[] buf,
int off,
int len)
Read into a buffer from the stream |
long |
SocketInputStream.skip(long n)
Skip a number of bytes |
void |
Connection.setParameters(java.lang.String url,
int mode,
boolean timeouts)
Set the URL, mode and timeouts |
protected void |
Connection.openConnection()
Open the connection using the values in address, port and parameters |
void |
Connection.close()
Close the underlying socket. |
void |
Connection.closeInputStream()
Close method called by an input stream |
void |
Connection.closeOutputStream()
Close method called by an output stream |
InputStream |
Connection.openInputStream()
Open an input stream |
java.io.DataInputStream |
Connection.openDataInputStream()
Open a data input stream |
OutputStream |
Connection.openOutputStream()
Open an output stream |
java.io.DataOutputStream |
Connection.openDataOutputStream()
Open a data output stream |
| Uses of IOException in com.dctl.j2me.net |
| Methods in com.dctl.j2me.net that throw IOException | |
static void |
TCPServer.bind(int handle,
int address,
int port)
Bind the socket to a port and address |
static void |
TCPServer.listen(int handle)
Listen for incoming connections |
static int |
TCPServer.accept(int handle)
Accept an incoming connection |
static int |
UDP.createSocket()
Create a new socket |
static void |
UDP.bind(int handle,
int address,
int port)
Bind the socket to a port and address |
static void |
UDP.close(int handle)
Close a socket |
static int |
UDP.receive(int handle,
byte[] buf,
int off,
int len,
com.dctl.j2me.io.datagram.DatagramImplementation dgram)
Receive a datagram |
static void |
UDP.send(int handle,
byte[] buf,
int off,
int len,
int address,
int port)
Send a datagram |
static void |
UDP.send(int handle,
int b,
int address,
int port)
Send a single byte in a datagram |
static int |
TCP.createSocket()
Create a new socket |
static void |
TCP.connect(int handle,
int address,
int port)
Connect the socket to a server |
static void |
TCP.close(int handle)
Close a socket |
static int |
TCP.available(int handle)
Return the number of bytes available in the buffer |
static int |
TCP.read(int handle)
Return one byte of data from the stream |
static int |
TCP.read(int handle,
byte[] buf,
int off,
int len)
Read into a buffer from the stream |
static int |
TCP.skip(int handle,
int n)
Skip a number of bytes |
static void |
TCP.write(int handle,
int b)
Write one byte to the socket |
static void |
TCP.write(int handle,
byte[] buf,
int off,
int len)
Write a buffer to the stream |
static void |
TCP.flush(int handle)
Flush the buffer |
| Uses of IOException in com.dctl.j2me.system |
| Constructors in com.dctl.j2me.system that throw IOException | |
JarFileClassLoader(java.lang.String url)
Constructor |
|
| Uses of IOException in java.io |
| Subclasses of IOException in java.io | |
class |
EOFException
|
class |
InterruptedIOException
|
class |
UnsupportedEncodingException
|
class |
UTFDataFormatException
|
| Methods in java.io that throw IOException | |
void |
Writer.write(int c)
Write a character |
void |
Writer.write(char[] cbuf)
Write a character array |
abstract void |
Writer.write(char[] cbuf,
int off,
int len)
Write a portion of a character array |
void |
Writer.write(java.lang.String str)
Write a string to the stream |
void |
Writer.write(java.lang.String str,
int off,
int len)
Write a number of characters from a string to the stream |
abstract void |
Writer.flush()
Flush the buffer |
abstract void |
Writer.close()
Close the stream |
void |
OutputStreamWriter.close()
Close the stream |
void |
OutputStreamWriter.flush()
Flush the stream |
void |
OutputStreamWriter.write(char[] cBuf,
int off,
int len)
Write a character array to the stream |
void |
OutputStreamWriter.write(int ch)
Write a single character to the stream |
void |
OutputStreamWriter.write(java.lang.String str,
int off,
int len)
Write a string to the stream |
void |
ByteArrayOutputStream.close()
Close the stream |
void |
ByteArrayInputStream.close()
Close the stream |
long |
ByteArrayInputStream.skip(long n)
skip a number of bytes in the stream |
abstract void |
Reader.close()
close the stream |
void |
Reader.mark(int limit)
mark the stream |
int |
Reader.read()
Read a character |
int |
Reader.read(char[] c)
Read into a character array |
abstract int |
Reader.read(char[] c,
int off,
int len)
Read into a character array |
boolean |
Reader.ready()
Test if it is available for reading |
void |
Reader.reset()
reset the stream |
long |
Reader.skip(long n)
Skip a number of characters |
void |
InputStreamReader.close()
close the stream |
void |
InputStreamReader.mark(int limit)
mark the stream |
int |
InputStreamReader.read()
Read a character |
int |
InputStreamReader.read(char[] cbuf,
int off,
int len)
Read characters into a character array |
boolean |
InputStreamReader.ready()
See if the stream is ready |
void |
InputStreamReader.reset()
reset the stream |
long |
InputStreamReader.skip(long n)
Skip a number of characters |
void |
OutputStream.close()
Close the buffer |
void |
OutputStream.flush()
Flush the buffer |
abstract void |
OutputStream.write(int b)
Write a byte |
void |
OutputStream.write(byte[] b)
Write an array of bytes |
void |
OutputStream.write(byte[] b,
int off,
int len)
Write parts of the array of bytes |
int |
InputStream.available()
return the number of available bytes in this stream |
void |
InputStream.close()
Close the stream |
abstract int |
InputStream.read()
read a byte |
int |
InputStream.read(byte[] b)
read a number of bytes from the input stream and store into the byte array |
int |
InputStream.read(byte[] b,
int off,
int len)
read a number of bytes from the input stream and store into the byte array |
void |
InputStream.reset()
Reset the stream to where the mark was set |
long |
InputStream.skip(long n)
skip a number of bytes from the stream |
| Uses of IOException in javax.comm |
| Methods in javax.comm that throw IOException | |
abstract InputStream |
CommPort.getInputStream()
Get the input stream |
abstract OutputStream |
CommPort.getOutputStream()
Get the output stream |
| Uses of IOException in javax.microedition.io |
| Subclasses of IOException in javax.microedition.io | |
class |
ConnectionNotFoundException
Exception used when a connection cannot be found |
| Methods in javax.microedition.io that throw IOException | |
static Connection |
Connector.open(java.lang.String url,
int mode,
boolean timeouts)
Create and open a connection from the URL |
static Connection |
Connector.open(java.lang.String url)
Create and open a connection from the URL Calls open(String url, int mode, boolean timeouts) with the url, mode READ_WRITE and timeouts 'false'. |
static Connection |
Connector.open(java.lang.String url,
int mode)
Create and open a connection from the URL Calls open(String url, int mode, boolean timeouts) with the url, mode and timeouts 'false'. |
static java.io.DataInputStream |
Connector.openDataInputStream(java.lang.String url)
Create and open a connection from the URL and then return a DataInputStream from this connection. |
static java.io.DataOutputStream |
Connector.openDataOutputStream(java.lang.String url)
Create and open a connection from the URL and then return a DataOutputStream from this connection. |
static InputStream |
Connector.openInputStream(java.lang.String url)
Create and open a connection from the URL and then return an InputStream from this connection. |
static OutputStream |
Connector.openOutputStream(java.lang.String url)
Create and open a connection from the URL and then return an OutputStream from this connection. |
void |
HttpConnection.setRequestMethod(java.lang.String method)
Set the request method - only valid until the request has been got |
void |
HttpConnection.setRequestProperty(java.lang.String key,
java.lang.String value)
Set the request property for thekey |
int |
HttpConnection.getResponseCode()
Get the response code |
java.lang.String |
HttpConnection.getResponseMessage()
Get the response message |
long |
HttpConnection.getExpiration()
Get the expires header field |
long |
HttpConnection.getDate()
Get the date header field |
long |
HttpConnection.getLastModified()
Get the last modified date |
java.lang.String |
HttpConnection.getHeaderField(java.lang.String name)
Get the header field |
int |
HttpConnection.getHeaderFieldInt(java.lang.String name,
int defaultValue)
Get a header field parsed as a number |
long |
HttpConnection.getHeaderFieldDate(java.lang.String name,
long defaultValue)
Get a header field parsed as a date value |
java.lang.String |
HttpConnection.getHeaderField(int index)
Get a header field indexed by the index |
java.lang.String |
HttpConnection.getHeaderFieldKey(int index)
Get the header field key at the index |
StreamConnection |
StreamConnectionNotifier.acceptAndOpen()
Opens and returns a server side socket Stream connection |
OutputStream |
OutputConnection.openOutputStream()
Open the output stream for the connection |
java.io.DataOutputStream |
OutputConnection.openDataOutputStream()
Open a data output stream for the connection |
InputStream |
InputConnection.openInputStream()
Opens an InputStream for the connection |
java.io.DataInputStream |
InputConnection.openDataInputStream()
Opens an OutputStream for the connection |
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,
java.lang.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,
java.lang.String addr)
Make a new datagram object. |
void |
Connection.close()
Close the connection. |
void |
Datagram.setAddress(java.lang.String addr)
Set datagram address. |
| Uses of IOException in javax.microedition.lcdui |
| Methods in javax.microedition.lcdui that throw IOException | |
static Image |
Image.createImage(java.lang.String name)
Create an image from the named resource |
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||