An interface for all objects that support loading and saving themselves through the ObjectCatalog class.
Receive a stream of base64 encoded bytes and decode to the original.
BufferedStream offers a faster way to read and write data from streams in a buffered manner.
Creates a byte array stream, which is a growable array of bytes.
Creates a compressed byte array stream, saving memory when reading and writting huge amount of data.
Implements a CharacterConverter that converts from char to byte which just casts the char to byte; thus, ignoring any non-ASCII character.
Used to open socket connections over CRADLE, WIFI, MDS, GPRS.
Computes CRC32 data checksum of a stream.
DataStream can be attached to any Stream such as a PortConnector, PDBFile, or ByteArrayStream, which lets you read and write standard Java data types like int, double, and totalcross.lang.String in a simple manner.
DataStreamLE can be attached to any Stream such as a PortConnector, PDBFile, or ByteArrayStream, which lets you read and write standard Java data types like int, double, and totalcross.lang.String in a simple manner.
File represents a file or directory.
Used to read lines ending with \r\n (enter/linefeed) or \n (linefeed) from a stream.
An extension to PDBFile that allows storage and retrieval of objects that implement the Storable interface.
PDBFile is a collection of records commonly referred to as a database on small devices.
Used to make a PDBFile act as a single Stream, reading all records in sequence.
Represents a stream that behaves like a large array of bytes and may be randomly accessed.
This class is used to handle record sizes of a PDBFile.
Stream is the base class for all stream-based I/O classes.
Base class for connection notifiers.
Used to read an array of tokens in a line ending with \r\n (enter/linefeed) from a stream.
Signals that an end of file or end of stream has been reached unexpectedly during input.
Thrown when a file was not found.
Illegal argument passed to an IO method.
Base class of all input/output exceptions.