|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IOException | |
---|---|
java.io | Input/Output support |
java.net | Support for sockets via PC SocketProxy |
java.util | Utilities |
javax.bluetooth | Standard Bluetooth classes |
javax.microedition.io | J2ME I/O. |
lejos.addon.gps | The lejos.addon.gps package provides GPS parsing. |
lejos.io | leJOS specific support for java.io |
lejos.nxt.comm | NXT communication classes |
lejos.nxt.rcxcomm | Emulation of RCX communication classes |
lejos.nxt.remote | Remote NXT access over Bluetooth |
lejos.robotics | Hardware abstraction interfaces for the robotics package. |
lejos.robotics.localization | Localization support |
lejos.robotics.mapping | A new incomplete proposal for navigation |
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 |
FileNotFoundException
|
class |
UnsupportedEncodingException
|
Methods in java.io that throw IOException | |
---|---|
Writer |
Writer.append(char c)
|
Writer |
Writer.append(CharSequence str)
|
Writer |
Writer.append(CharSequence str,
int start,
int end)
|
Writer |
StringWriter.append(CharSequence str,
int start,
int end)
|
Writer |
BufferedWriter.append(CharSequence str,
int start,
int end)
|
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 |
FilterInputStream.available()
|
int |
FileInputStream.available()
|
int |
BufferedInputStream.available()
|
abstract void |
Writer.close()
|
void |
StringWriter.close()
|
abstract void |
Reader.close()
|
void |
OutputStream.close()
Closes this output stream and releases any system resources associated with this stream. |
void |
InputStream.close()
Closes this input stream and releases any system resources associated with the stream. |
void |
FilterOutputStream.close()
|
void |
FilterInputStream.close()
|
void |
FileOutputStream.close()
Write the buffer to flash memory and update the file parameters in flash. |
void |
BufferedWriter.close()
|
void |
BufferedOutputStream.close()
|
void |
BufferedInputStream.close()
|
boolean |
File.createNewFile()
Creates a new file entry in the flash memory. |
static void |
File.defrag()
Defrag the file system. |
abstract void |
Writer.flush()
|
void |
StringWriter.flush()
|
void |
OutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out. |
void |
FilterOutputStream.flush()
|
void |
FileOutputStream.flush()
|
void |
BufferedWriter.flush()
|
void |
BufferedOutputStream.flush()
|
void |
Reader.mark(int position)
|
void |
File.moveToTop()
Move the file to become the last one in flash memory. |
void |
BufferedWriter.newLine()
|
int |
Reader.read()
|
abstract int |
InputStream.read()
Reads the next byte of data from the input stream. |
int |
FilterInputStream.read()
|
int |
FileInputStream.read()
|
int |
BufferedInputStream.read()
|
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. |
int |
FilterInputStream.read(byte[] b,
int off,
int len)
|
int |
FileInputStream.read(byte[] b,
int off,
int len)
|
int |
BufferedInputStream.read(byte[] b,
int off,
int len)
|
int |
Reader.read(char[] cbuf)
|
abstract int |
Reader.read(char[] cbuf,
int off,
int len)
|
boolean |
DataInputStream.readBoolean()
|
boolean |
DataInput.readBoolean()
|
byte |
DataInputStream.readByte()
|
byte |
DataInput.readByte()
|
char |
DataInputStream.readChar()
|
char |
DataInput.readChar()
|
double |
DataInputStream.readDouble()
|
double |
DataInput.readDouble()
|
float |
DataInputStream.readFloat()
|
float |
DataInput.readFloat()
|
void |
DataInputStream.readFully(byte[] b)
|
void |
DataInput.readFully(byte[] b)
|
void |
DataInputStream.readFully(byte[] b,
int off,
int len)
|
void |
DataInput.readFully(byte[] b,
int off,
int len)
|
int |
DataInputStream.readInt()
|
int |
DataInput.readInt()
|
String |
DataInputStream.readLine()
Deprecated. broken in various ways, use BufferedReader.readLine instead |
String |
DataInput.readLine()
|
long |
DataInputStream.readLong()
|
long |
DataInput.readLong()
|
short |
DataInputStream.readShort()
|
short |
DataInput.readShort()
|
int |
DataInputStream.readUnsignedByte()
|
int |
DataInput.readUnsignedByte()
|
int |
DataInputStream.readUnsignedShort()
|
int |
DataInput.readUnsignedShort()
|
String |
DataInputStream.readUTF()
|
String |
DataInput.readUTF()
|
static String |
DataInputStream.readUTF(DataInput in)
|
boolean |
Reader.ready()
|
void |
Reader.reset()
|
void |
InputStream.reset()
Repositions this stream to the position at the time the mark method was last called on this input stream. |
void |
FilterInputStream.reset()
|
long |
Reader.skip(long n)
|
long |
InputStream.skip(long n)
Skips over and discards n bytes of data from this input
stream. |
long |
FilterInputStream.skip(long n)
|
long |
FileInputStream.skip(long n)
|
long |
BufferedInputStream.skip(long n)
|
int |
DataInputStream.skipBytes(int n)
|
int |
DataInput.skipBytes(int n)
|
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 |
FilterOutputStream.write(byte[] b,
int off,
int len)
|
void |
DataOutputStream.write(byte[] b,
int off,
int len)
|
void |
DataOutput.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 |
BufferedOutputStream.write(byte[] c,
int off,
int len)
|
void |
Writer.write(char[] c)
|
abstract void |
Writer.write(char[] c,
int off,
int len)
|
void |
StringWriter.write(char[] c,
int off,
int len)
|
void |
BufferedWriter.write(char[] c,
int off,
int len)
|
void |
Writer.write(int c)
|
void |
StringWriter.write(int c)
|
abstract void |
OutputStream.write(int b)
Writes the specified byte to this output stream. |
void |
FilterOutputStream.write(int b)
|
void |
FileOutputStream.write(int b)
write 1 byte to the file; if necessary, file will be moved become the last file in memory |
void |
DataOutputStream.write(int b)
|
void |
DataOutput.write(int b)
Writes the specified byte (the low eight bits of the argument b ) to the underlying output stream. |
void |
BufferedWriter.write(int c)
|
void |
BufferedOutputStream.write(int c)
|
void |
Writer.write(String str)
|
void |
Writer.write(String str,
int off,
int len)
|
void |
StringWriter.write(String str,
int off,
int len)
|
void |
BufferedWriter.write(String str,
int off,
int len)
|
void |
DataOutputStream.writeBoolean(boolean v)
|
void |
DataOutput.writeBoolean(boolean v)
Writes a boolean to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeByte(int v)
|
void |
DataOutput.writeByte(int v)
Writes out a byte to the underlying output stream as
a 1-byte value. |
void |
DataOutputStream.writeBytes(String s)
|
void |
DataOutput.writeBytes(String s)
|
void |
DataOutputStream.writeChar(int v)
|
void |
DataOutput.writeChar(int v)
Writes a char to the underlying output stream as a
2-byte value, high byte first. |
void |
DataOutputStream.writeChars(String s)
|
void |
DataOutput.writeChars(String s)
|
void |
DataOutputStream.writeDouble(double v)
|
void |
DataOutput.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 |
DataOutputStream.writeFloat(float v)
|
void |
DataOutput.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 |
DataOutputStream.writeInt(int v)
|
void |
DataOutput.writeInt(int v)
Writes an int to the underlying output stream as four
bytes, high byte first. |
void |
DataOutputStream.writeLong(long v)
|
void |
DataOutput.writeLong(long v)
Writes a long to the underlying output stream as eight
bytes, high byte first. |
void |
DataOutputStream.writeShort(int v)
|
void |
DataOutput.writeShort(int v)
Writes a short to the underlying output stream as two
bytes, high byte first. |
void |
ByteArrayOutputStream.writeTo(OutputStream os)
|
void |
DataOutputStream.writeUTF(String s)
|
void |
DataOutput.writeUTF(String s)
|
Uses of IOException in java.net |
---|
Methods in java.net that throw IOException | |
---|---|
Socket |
ServerSocket.accept()
Waits until there is a socket connection available. |
DataInputStream |
Socket.getDataInputStream()
Returns the data input stream of the socket |
DataOutputStream |
Socket.getDataOutputStream()
Returns the data output stream of the socket |
InputStream |
Socket.getInputStream()
Returns the input stream associated with this socket |
OutputStream |
Socket.getOutputStream()
Returns the output stream associated with this socket |
Constructors in java.net that throw IOException | |
---|---|
ServerSocket(int port,
NXTConnection nxtc)
Constructor. |
|
Socket(String host,
int port,
NXTConnection nxtc)
Constructor: Pass an open NXT connection and socket details. |
Uses of IOException in java.util |
---|
Methods in java.util that throw IOException | |
---|---|
void |
Properties.load(InputStream inStream)
|
void |
Properties.store(OutputStream out,
String comments)
|
Uses of IOException in javax.bluetooth |
---|
Subclasses of IOException in javax.bluetooth | |
---|---|
class |
BluetoothStateException
|
Methods in javax.bluetooth that throw IOException | |
---|---|
static RemoteDevice |
RemoteDevice.getRemoteDevice(Connection conn)
|
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, or the protocol type is not supported. |
Methods in javax.microedition.io that throw IOException | |
---|---|
StreamConnection |
StreamConnectionNotifier.acceptAndOpen()
|
void |
Connection.close()
|
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. |
Uses of IOException in lejos.addon.gps |
---|
Methods in lejos.addon.gps that throw IOException | |
---|---|
void |
SimpleGPS.close()
Method used to close connection. |
Uses of IOException in lejos.io |
---|
Methods in lejos.io that throw IOException | |
---|---|
Writer |
LejosOutputStreamWriter.append(char c)
|
Writer |
LejosOutputStreamWriter.append(CharSequence str,
int start,
int end)
|
void |
LejosOutputStreamWriter.close()
|
void |
LejosInputStreamReader.close()
|
int |
LejosInputStreamReader.fillBuffer()
|
void |
LejosOutputStreamWriter.flush()
|
int |
LejosInputStreamReader.read()
|
int |
LejosInputStreamReader.read(char[] cbuf,
int off,
int len)
|
void |
LejosOutputStreamWriter.write(char[] c,
int off,
int len)
|
void |
LejosOutputStreamWriter.write(int c)
|
void |
LejosOutputStreamWriter.write(String str,
int off,
int len)
|
Uses of IOException in lejos.nxt.comm |
---|
Methods in lejos.nxt.comm that throw IOException | |
---|---|
int |
NXTInputStream.available()
returns the number of bytes in the input buffer - can be read without blocking |
void |
NXTOutputStream.flush()
|
int |
NXTInputStream.read()
Returns one byte as an integer between 0 and 255. |
void |
NXTOutputStream.write(int b)
|
Uses of IOException in lejos.nxt.rcxcomm |
---|
Constructors in lejos.nxt.rcxcomm that throw IOException | |
---|---|
RCXAbstractPort(PacketHandler handler)
Constructor for the RCXAbstractPort. |
|
RCXPort(SensorPort port)
|
Uses of IOException in lejos.nxt.remote |
---|
Methods in lejos.nxt.remote that throw IOException | |
---|---|
void |
NXTCommand.boot()
Put the NXT into SAMBA mode, ready to update the firmware |
void |
NXTCommand.close()
Call the close() command when your program ends, otherwise you will have to turn the NXT brick off/on before you run another program. |
void |
NXTComm.close()
|
void |
NXTCommRequest.close()
Close the connection |
byte |
NXTCommand.closeFile(byte handle)
Closes an open file. |
byte |
NXTCommand.defrag()
A NXJ extension to defrag the file system |
byte |
NXTCommand.delete(String fileName)
Delete a file on the NXT |
byte |
NXTCommand.deleteUserFlash()
Deletes user flash memory. |
FileInfo |
NXTCommand.findFirst(String wildCard)
Find the first file on the NXT. |
FileInfo |
NXTCommand.findFirstNXJ(String wildCard)
Find the first file on the NXT. |
FileInfo |
NXTCommand.findNext(byte handle)
Find the next file on the NXT |
FileInfo |
NXTCommand.findNextNXJ(byte handle)
Find the next file on the NXT. |
int |
NXTCommand.getBatteryLevel()
Get the battery reading |
String |
NXTCommand.getCurrentProgramName()
Name of current running program. |
DeviceInfo |
NXTCommand.getDeviceInfo()
Gets device information |
FirmwareInfo |
NXTCommand.getFirmwareVersion()
Get the fimrware version. |
String |
NXTCommand.getFriendlyName()
Get the friendly name of the NXT |
InputValues |
NXTCommand.getInputValues(int port)
Get input values for a specific NXT sensor port |
String |
NXTCommand.getLocalAddress()
Get the local address of the NXT. |
OutputState |
NXTCommand.getOutputState(int port)
Retrieves the current output state for a port. |
int |
NXTCommand.getTachoCount(int port)
Retrieves tacho count. |
byte[] |
NXTCommand.LSGetStatus(byte port)
Returns the status for an Inter-Integrated Circuit (I2C) sensor (the ultrasound sensor) via the Low Speed (LS) data port. |
byte[] |
NXTCommand.LSRead(byte port)
Reads data from an Inter-Integrated Circuit (I2C) sensor (the ultrasound sensor) via the Low Speed (LS) data port. |
byte |
NXTCommand.LSWrite(byte port,
byte[] txData,
byte rxDataLength)
Used to request data from an Inter-Integrated Circuit (I2C) sensor (the ultrasound sensor) via the Low Speed (LS) data port. |
byte[] |
NXTCommand.messageRead(byte remoteInbox,
byte localInbox,
boolean remove)
|
byte |
NXTCommand.messageWrite(byte[] message,
byte inbox)
Sends a message to an inbox on the NXT for storage(?) |
boolean |
NXTComm.open(String name,
int mode)
|
FileInfo |
NXTCommand.openRead(String fileName)
Opens a file on the NXT for reading. |
byte |
NXTCommand.openWrite(String fileName,
int size)
Opens a file on the NXT for writing. |
byte |
NXTCommand.playSoundFile(String fileName,
boolean repeat)
|
byte |
NXTCommand.playTone(int frequency,
int duration)
Plays a tone on NXT speaker. |
byte[] |
NXTCommand.readFile(byte handle,
int length)
Returns requested number of bytes from a file. |
byte |
NXTCommand.resetMotorPosition(int port,
boolean relative)
Resets either RotationCount or BlockTacho |
byte[] |
NXTComm.sendRequest(byte[] message,
int replyLen)
|
byte[] |
NXTCommRequest.sendRequest(byte[] message,
int replyLen)
Send an LCP message to the NXT and receive a reply |
byte |
NXTCommand.setFriendlyName(String name)
Set the friendly name of the NXT |
byte |
NXTCommand.setInputMode(int port,
int sensorType,
int sensorMode)
Tells the NXT what type of sensor you are using and the mode to operate in. |
byte |
NXTCommand.setOutputState(int port,
byte power,
int mode,
int regulationMode,
int turnRatio,
int runState,
int tachoLimit)
|
byte |
NXTCommand.startProgram(String fileName)
Starts a program already on the NXT. |
byte |
NXTCommand.stopProgram()
Forces the currently executing program to stop. |
byte |
NXTCommand.stopSoundPlayback()
Stops sound file playing. |
String |
NXTCommand.uploadFile(File file,
String nxtFileName)
Upload a file to the NXT |
byte |
NXTCommand.writeFile(byte handle,
byte[] data)
Write data to the file |
Constructors in lejos.nxt.remote that throw IOException | |
---|---|
RemoteNXT(String name,
NXTCommConnector connector)
|
Uses of IOException in lejos.robotics |
---|
Methods in lejos.robotics that throw IOException | |
---|---|
void |
RangeReadings.dumpReadings(DataOutputStream dos)
Dump the readings to a DataOutputStream |
void |
RangeReadings.loadReadings(DataInputStream dis)
Load the readings from a DataInputStream |
Uses of IOException in lejos.robotics.localization |
---|
Methods in lejos.robotics.localization that throw IOException | |
---|---|
void |
MCLParticleSet.dumpClosest(RangeReadings rr,
RangeMap map,
DataOutputStream dos,
float x,
float y)
Find the closest particle to specified coordinates and dump its details to a data output stream. |
void |
MCLParticleSet.dumpEstimation(DataOutputStream dos)
Dump the serialized estimate of pose to a data output stream |
void |
MCLParticleSet.dumpParticles(DataOutputStream dos)
Serialize the particle set to a data output stream |
void |
MCLParticleSet.loadEstimation(DataInputStream dis)
Load serialized estimated pose from a data input stream |
void |
MCLParticleSet.loadParticles(DataInputStream dis)
Load serialized particles from a data input stream |
Uses of IOException in lejos.robotics.mapping |
---|
Methods in lejos.robotics.mapping that throw IOException | |
---|---|
void |
LineMap.dumpMap(DataOutputStream dos)
Dump the map to a DataOutputStream |
void |
LineMap.loadMap(DataInputStream dis)
Load a map from a DataInputStream |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |