Package waba.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

Class Summary
ByteArrayStream creates a byte array stream. it can be useful with the method Catalog.inspectRecord, since that method returns a byte array.
Catalog Catalog is a collection of records commonly referred to as a database on small devices.
DataStream DataStream is a wrapper you can place around any Stream such as a SerialPort, Catalog, or BufferStream which lets you read and write standard Waba data types like ints, floats, and Strings in a simple manner.
ResizeStream this class is used to create an resizable record. you can use it with DataStream. example: Catalog cat = new Catalog(type+"."+creator+"."+type,Catalog.READ_WRITE); ResizeStream rs = new ResizeStream(cat,512); DataStream ds = new DataStream(rs); rs.startRecord(); ds.writeStringArray(aStringArray); rs.endRecord(); ds.close();
ps: if you dont call startRecord, writeBytes will simply call catalog.writeBytes and will not resize the record.
SerialPort SerialPort accesses a device's serial port.
Socket Socket is a TCP/IP network socket.
Stream Stream is the base class for all stream-based I/O classes.
 

Package waba.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.