Package waba.io

Class Summary
ByteArrayOutputStream creates a byte array output stream. it can be useful with the method Catalog.inspectRecord, since that method returns a byte array. added by guich.
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.
File File is a file or directory.
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.