|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jSyncManager.API.Conduit.Tools.JSCSVDocument
org.jSyncManager.API.Conduit.Tools.DLPRecordCSV
org.jSyncManager.API.Conduit.Tools.ToDoListDBCSV
This is a synchronization JConduit for a CSV document from the ToDoListDB database.
Each "cell" in the record will be a double-quoted String, escaped if necessary.
The output CSV document will be headed by a row containing the data type indicators, and possibly a title name row.
JSCSVCell,
JSCSVDocument,
DLPRecordCSV| Field Summary | |
static java.lang.String |
CSVNAME
org.w3c.dom.Document document |
ToDoListRecord |
record
|
| Fields inherited from class org.jSyncManager.API.Conduit.Tools.JSCSVDocument |
DATATYPE_ROW, DLPRECORD_COLS, headerrows, TITLE_ROW |
| Constructor Summary | |
ToDoListDBCSV()
Create new default, empty ToDoListDBCSV |
|
ToDoListDBCSV(java.io.File document)
Create new ToDoListDBCSV from File. |
|
ToDoListDBCSV(java.io.InputStreamReader inputfile)
Create new ToDoListDBCSV with InputStreamReader stream input. |
|
ToDoListDBCSV(ToDoListRecord rec)
Create new MailDBCSV with given MailRecord. |
|
| Method Summary | |
void |
insertRecord(ToDoListRecord rec)
Insert record into CSV row |
int |
insertTitles(ToDoListRecord rec)
Insert title row into document |
int |
insertTypes(ToDoListRecord rec)
Insert column types from input ToDoListRecord for CSV conversion and output. |
void |
readDocument(java.io.InputStreamReader inputfile)
Read the InputStreadReader input and parse the contents into a JSCSVDocument document. |
| Methods inherited from class org.jSyncManager.API.Conduit.Tools.DLPRecordCSV |
insertRecord, insertTitles, insertTypes, readDocument |
| Methods inherited from class org.jSyncManager.API.Conduit.Tools.JSCSVDocument |
elementAt, escape, escape, escape, escape, escape, escape, escape, escape, escape, escape, escape, escape, escape, getCell, getDocument, getHeaderrows, getReader, getRowNo, getSeparator, getValue, isShowtitles, parse, parse, parse, parse, parseRow, parseTitleRow, parseTypeRow, readBooleanCell, readByteArrayCell, readByteCell, readCalendarCell, readCharArrayCell, readCharCell, readDoubleArrayCell, readDoubleCell, readFloatArrayCell, readFloatCell, readIntArrayCell, readIntCell, readLongArrayCell, readLongCell, readStringArrayCell, readStringCell, setDocument, setElementAt, setElementAt, setHeaderrows, setReader, setReader, setReader, setSeparator, setShowtitles, writeDataRow, writeDocument, writeDocument |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String CSVNAME
public transient ToDoListRecord record
| Constructor Detail |
public ToDoListDBCSV()
public ToDoListDBCSV(ToDoListRecord rec)
rec - MailRecord to be parsed into MailDBCSV instance.
public ToDoListDBCSV(java.io.File document)
throws java.io.IOException
document - CSV Document file
java.io.IOException - IOException thrown
public ToDoListDBCSV(java.io.InputStreamReader inputfile)
throws java.io.IOException
inputfile - InputStreamReader input
java.io.IOException - IOException thrown| Method Detail |
public int insertTypes(ToDoListRecord rec)
rec - ToDoListRecord input
public int insertTitles(ToDoListRecord rec)
rec - ToDoListRecord
public void insertRecord(ToDoListRecord rec)
rec - ToDoListRecord
public void readDocument(java.io.InputStreamReader inputfile)
throws java.io.IOException
readDocument in class DLPRecordCSVinputfile - InputStreamReader
java.io.IOException - IOException
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||