|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PalmDB.Resource
Note: when parsing, each record has a pointer into the same block of data, so either treat it as read-only (in terms of length, at least), or replace it with your own byte array to modify it. It would be nice if there was some API support for this stuff, but that would be work.
Field Summary | |
byte[] |
data
Array of bytes containing this resource's content, and possibly others as well. |
short |
id
|
int |
length
Count of data bytes from offset. |
int |
offset
Start of this record's data within data . |
java.lang.String |
type
|
Constructor Summary | |
PalmDB.Resource()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String type
public short id
public byte[] data
offset
and length
.
public int offset
data
.
public int length
Constructor Detail |
public PalmDB.Resource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |