Class PalmDB.Resource

java.lang.Object
  |
  +--PalmDB.Resource
Enclosing class:
PalmDB

public static class PalmDB.Resource
extends java.lang.Object

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

type

public java.lang.String type

id

public short id

data

public byte[] data
Array of bytes containing this resource's content, and possibly others as well. See offset and length.


offset

public int offset
Start of this record's data within data.


length

public int length
Count of data bytes from offset.

Constructor Detail

PalmDB.Resource

public PalmDB.Resource()