LibreOffice Module xmerge (master)
1
|
A. More...
Public Member Functions | |
PalmDocument (InputStream is) throws IOException | |
Constructor to create a. More... | |
PalmDocument (String name, int creatorID, int typeID, int version, short attribute, Record[] recs) throws UnsupportedEncodingException | |
Constructor to create a. More... | |
void | read (InputStream is) throws IOException |
Reads in a file from the. More... | |
void | write (OutputStream os) throws IOException |
Writes the. More... | |
PalmDB | getPdb () |
Returns the. More... | |
void | setPdb (PalmDB pdb) |
Sets the. More... | |
String | getFileName () |
Returns the name of the file. More... | |
String | getName () |
Returns the. More... | |
Private Attributes | |
PalmDB | pdb |
The internal representation of a pdb. More... | |
String | fileName |
The file name. More... | |
A.
is palm implementation of the
interface.
This implementation allows the Palm device format to be read via an
and written via an
.
Definition at line 37 of file PalmDocument.java.
|
inline |
Constructor to create a.
from an
.
is |
Definition at line 53 of file PalmDocument.java.
References org.openoffice.xmerge.converter.palm.PalmDocument.read().
|
inline |
Constructor to create a.
with
objects.
can be zero for an empty PDB.
name | Suggested PDB name in . |
creatorID | The PDB Creator ID. |
typeID | The PDB Type ID. |
version | The PDB header version. |
attribute | The PDB header attribute. |
recs | Array of objects. |
NullPointerException | If recs
null
|
Definition at line 71 of file PalmDocument.java.
References attribute, org.openoffice.xmerge.converter.palm.PalmDB.getPDBNameString(), name, and typeID().
|
inline |
Returns the name of the file.
Implements org.openoffice.xmerge.Document.
Definition at line 136 of file PalmDocument.java.
References String.
|
inline |
Returns the.
name.
Implements org.openoffice.xmerge.Document.
Definition at line 145 of file PalmDocument.java.
References org.openoffice.xmerge.converter.palm.PalmDocument.fileName, and String.
|
inline |
Returns the.
contained in this object.
Definition at line 115 of file PalmDocument.java.
References org.openoffice.xmerge.converter.palm.PalmDocument.pdb.
|
inline |
Reads in a file from the.
.
is |
Implements org.openoffice.xmerge.Document.
Definition at line 85 of file PalmDocument.java.
References org.openoffice.xmerge.converter.palm.PalmDB.getPDBNameString(), n, and org.openoffice.xmerge.converter.palm.PdbDecoder.parse().
Referenced by org.openoffice.xmerge.converter.palm.PalmDocument.PalmDocument().
Sets the.
to a new
value.
pdb | The new PalmDB
|
Definition at line 124 of file PalmDocument.java.
References org.openoffice.xmerge.converter.palm.PalmDB.getPDBNameString(), name, org.openoffice.xmerge.converter.palm.PalmDocument.pdb, and String.
|
inline |
Writes the.
to an
.
os | The OutputStream
|
IOException | If any I/O error occurs. |
Implements org.openoffice.xmerge.Document.
Definition at line 105 of file PalmDocument.java.
References org.openoffice.xmerge.converter.palm.PdbEncoder.write().
|
private |
The file name.
Definition at line 44 of file PalmDocument.java.
Referenced by org.openoffice.xmerge.converter.palm.PalmDocument.getName().
|
private |
The internal representation of a pdb.
Definition at line 41 of file PalmDocument.java.
Referenced by org.openoffice.xmerge.converter.palm.PalmDocument.getPdb(), and org.openoffice.xmerge.converter.palm.PalmDocument.setPdb().