All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----com.syncbuilder.storage.Block | +----com.syncbuilder.storage.Pref
Summary |
public abstract class Pref extends com.syncbuilder.storage.Block { // Fields 4 public boolean backup; public Char4 creator; public int id; public int version; // Constructors 1 public Pref(byte[], Char4, int, int, boolean) throws NoCreatorException; // Methods 1 public String describe(); }
A representation of a preference-object on the Palm device. Each preference is uniquely identified by the Creator ID of the application to which it belongs, and an ID number. It also has a version number, but this is not used for identification. The pref's backup-flag says whether this pref requires backup during synchronization.
The contents of a pref are formatted bytes, with a layout that is native to the application.
Cross Reference |
Fields |
· id | Summary | Top |
public int id
The ID number of the Pref
· version | Summary | Top |
public int version
The version number of the Pref
· backup | Summary | Top |
public boolean backup
The backup-bit of the Pref
· creator | Summary | Top |
public Char4 creator
The creator ID of the application which uses this Pref
Constructors |
· Pref | Summary | Top |
public Pref(byte[] contents, Char4 creator, int id, int version, boolean backup) throws NoCreatorException
Create a fully initialized Pref-object.
Methods |
· describe | Summary | Top |
public String describe()
Returns information about this
Pref
object as a formattedString
.
- Returns:
- a
String
representation of thisPref
object.- Overrides:
- describe in class Block
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7