net.sourceforge.jpalm.palmdb
Class SortInfo

java.lang.Object
  extended by net.sourceforge.jpalm.DataBlock
      extended by net.sourceforge.jpalm.palmdb.SortInfo

public class SortInfo
extends DataBlock

The sort info block in a Palm database.


Constructor Summary
SortInfo(byte[] data)
          Creates a new sort info block from the byte array.
 
Method Summary
 void deserialize(byte[] data)
          Populate class properties from a byte array.
 boolean equals(java.lang.Object object)
           
 byte[] serialize()
          Create a byte array of the class properties.
 
Methods inherited from class net.sourceforge.jpalm.DataBlock
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SortInfo

public SortInfo(byte[] data)
Creates a new sort info block from the byte array.

Parameters:
data - the byte array
See Also:
deserialize(byte[])
Method Detail

deserialize

public void deserialize(byte[] data)
Description copied from class: DataBlock
Populate class properties from a byte array.

Specified by:
deserialize in class DataBlock
Parameters:
data - the byte array

serialize

public byte[] serialize()
Description copied from class: DataBlock
Create a byte array of the class properties.

Specified by:
serialize in class DataBlock
Returns:
the byte array

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class DataBlock