Package totalcross.io

Input output basic classes, to access PDB files (represented by a Catalog), sockets, serial port, and some utility classes to make easier dealing with IO.

See:
          Description

Interface Summary
Storable An interface for all objects that support loading and saving themselves through the ObjectCatalog class.
 

Class Summary
BufferedStream BufferedStream offers a faster way to read and write data from streams in a buffered manner.
ByteArrayStream Creates a byte array stream, which is a growable array of bytes.
CompressedByteArrayStream Creates a compressed byte array stream, saving memory when reading and writting huge amount of data.
CompressedByteArrayStream.DirectCharConverter Implements a CharacterConverter that from char[] to byte[] which just casts the char to byte; thus, ignoring any non-ASCII character.
CompressedStream Base class for stream filters that perform data compression and decompression.
Connector totalcross.lang.Class used to open socket connections over CRADLE, WIFI, MDS, GPRS.
CRC32Stream Computes CRC32 data checksum of a stream.
DataStream 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 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 File represents a file or directory.
GZipStream This class implements a stream filter for compressing or uncompressing data stored in the GZip compression format.
LineReader Used to read lines ending with 0d0a (enter/linefeed) from a stream.
ObjectPDBFile An extension to PDBFile that allows storage and retrieval of objects that implement the Storable interface.
PDBFile PDBFile is a collection of records commonly referred to as a database on small devices.
PDBStream Used to make a PDBFile act as a single Stream, reading all records in sequence.
RandomAccessStream Represents a stream that behaves like a large array of bytes and may be randomly accessed.
ResizeRecord This class is used to handle record sizes of a PDBFile.
Stream Stream is the base class for all stream-based I/O classes.
StreamConnectionNotifier Base class for connection notifiers.
ZLibStream This class implements a stream filter for compressing or uncompressing data stored in the ZLib compression format.
 

Exception Summary
FileNotFoundException Thrown when a file was not found.
IllegalArgumentIOException Illegal argument passed to an IO method.
IOException Base class of all input/output exceptions.
 

Package totalcross.io Description

Input output basic classes, to access PDB files (represented by a Catalog), sockets, serial port, and some utility classes to make easier dealing with IO.