All Packages This Package Class Hierarchy Class Search Index
Class com.syncbuilder.storage.Block
java.lang.Object
|
+----com.syncbuilder.storage.Block
public abstract class Block
extends java.lang.Object
implements java.io.Serializable
{
// Constructors 2
public Block();
public Block(byte[]);
// Methods 5
public String describe();
public abstract void fill();
public byte[] pack();
public String toString();
public void unpack(byte[]);
}
This is a superclass for all classes which need to parse
formatted byte-data into object-attribute values and vice versa.
The format of the byte-data is typically identical to the
format that is natively used by some Palm device-application.
- Extended By:
- AppBlock, Pref, Record, Resource, SortBlock
public Block()
Create an uninitialized Block
.
This no-arg constructor is also req'd for the externalization to work.
public Block(byte[] contents)
public abstract void fill()
public byte[] pack()
Turn the Block's attribute-values into a byte-array.
The array can be used with unpack or for transfer
to an application on the Pilot.
- Returns:
- the array of bytes
See Also:
unpack
public void unpack(byte[] data)
public String describe()
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7