LibreOffice Module xmerge (master)
1
|
Provides functionality to decode a PDB formatted file into a. More...
Public Member Functions | |
PalmDB | parse (byte[] b) throws IOException |
This method decodes a PDB file into a. More... | |
Provides functionality to decode a PDB formatted file into a.
object given an
.
This class is only used by the
object.
Sample usage:
PdbDecoder decoder = new PdbDecoder("sample.pdb");PalmDB palmDB = decoder.parse();
This decoder has the following assumptions on the PDB file:
Other decoders assume these as well.
Definition at line 51 of file PdbDecoder.java.
|
inline |
This method decodes a PDB file into a.
object.
First, the header data is read using the
method. Next, the RecordList section is read and the
offsets are stored for use when parsing the Records. Based on these offsets, the bytes corresponding to each
are read and each is stored in a
object. Lastly, the data is used to create a
object.
b |
Definition at line 67 of file PdbDecoder.java.
Referenced by org.openoffice.xmerge.converter.palm.PalmDocument.read().