|
iRex DR1000 Merger v0.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.andynaz.irex.dr1000.document.Document
public abstract class Document
Document on a iRex DR1000. This class ia a model for both a PDF document or a note: both of them have an associated SQLite database file, in which the scribbles are stored.
Field Summary | |
---|---|
protected File |
db
Database file. |
Constructor Summary | |
---|---|
protected |
Document(File db)
Creates a new Document with an associated database file. |
Method Summary | |
---|---|
void |
format(String outputFile)
Deprecated. only for debug purpuse; will be deleted in future release |
protected abstract String |
getDefaultFileName()
Return the default filename used to create the output PDF file. |
protected abstract String |
getFileName()
Return the file name as it is present in the database file. |
protected ScribbleMgr |
getScribbleMgr()
Returns an initialized ScribbleMgr . |
abstract void |
merge(String outFilePath)
Creates the output PDF file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File db
Constructor Detail |
---|
protected Document(File db)
db
- Method Detail |
---|
protected ScribbleMgr getScribbleMgr()
ScribbleMgr
.
protected abstract String getFileName()
file_metadata.filename
column.
ScribbleMgr
protected abstract String getDefaultFileName()
public abstract void merge(String outFilePath)
outFilePath
- the path to the output PDF file; if it is null
or empty, the default one returned by getDefaultFileName()
is
usedpublic void format(String outputFile)
outputFile
- path to the output text file; if it is null
or empty, the default one returned by getDefaultFileName()
is
used
|
iRex DR1000 Merger v0.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |