|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--brf.j2me.dynaworks.db.Record
|
+--brf.j2me.dynaworks.db.palm.PalmRec
A PalmRec is a base class for all records stored in build-in databases like AddressDB, MemoDB, DatebookDB and the like.
Record,
PalmDB| Fields inherited from class brf.j2me.dynaworks.db.Record |
content, fields, sequence |
| Constructor Summary | |
PalmRec()
constructor. |
|
| Method Summary | |
protected int |
bitCount(int val,
int mark)
count the bits set in the integer up to a "terminator" mask. |
protected int |
intValue(byte[] data,
int pos)
return the value of four successive bytes in an array as an integer value (big endian notation!) |
protected short |
shortValue(byte[] data,
int pos)
return the value of twi successive bytes in an array as a short value (big endian notation!) |
| Methods inherited from class brf.j2me.dynaworks.db.Record |
addField, getBytes, getContent, getField, getInt, getShort, getString, readField, setBytes, setContent, setField, setInt, setShort, setString, size, update, writeField |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public PalmRec()
| Method Detail |
protected int bitCount(int val,
int mark)
val - int - count bits in integermark - int - terminator mask
protected int intValue(byte[] data,
int pos)
data - byte[] - array of bytes to extract integer frompos - int - offset into array with data.length >= pos + 4
protected short shortValue(byte[] data,
int pos)
data - byte[] - array of bytes to extract integer frompos - int - offset into array with data.length >= pos + 2
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||