|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jSyncManager.API.Protocol.Util.JSCSVDocument
|
+--org.jSyncManager.API.Protocol.Util.DLPRecordCSV
|
+--org.jSyncManager.API.Protocol.Util.StdApps.AddressDBCSV
This is a synchronization JConduit for a CSV document from the AddressDB 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
Name of the CSV record type. |
AddressRecord |
record
AddressRecord for this CSV conversion. |
| Fields inherited from class org.jSyncManager.API.Protocol.Util.JSCSVDocument |
|---|
DATATYPE_ROW, DLPRECORD_COLS, headerrows, TITLE_ROW |
| Constructor Summary | |
|---|---|
AddressDBCSV()
Create new default, empty AddressDBCSV |
|
AddressDBCSV(AddressRecord rec)
Create new AddressDBCSV with AddressRecord given. |
|
AddressDBCSV(java.io.File document)
Create new AddressDBCSV from File. |
|
AddressDBCSV(java.io.InputStreamReader inputfile)
Create new AddressDBCSV with InputStreamReader stream input. |
|
| Method Summary | |
|---|---|
void |
insertRecord(AddressRecord rec)
Insert record into CSV row |
int |
insertTitles(AddressRecord rec)
Insert title row into document |
int |
insertTypes(AddressRecord rec)
Insert column types from input AddressRecord 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.Protocol.Util.DLPRecordCSV |
|---|
insertRecord, insertTitles, insertTypes, readDocument |
| Methods inherited from class org.jSyncManager.API.Protocol.Util.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 |
|---|
|
| Field Detail |
public static java.lang.String CSVNAME
public transient AddressRecord record
| Constructor Detail |
public AddressDBCSV()
public AddressDBCSV(AddressRecord rec)
rec - AddressRecord
public AddressDBCSV(java.io.File document)
throws java.io.IOException
document - CSV Document filejava.io.IOException - IOException thrown
public AddressDBCSV(java.io.InputStreamReader inputfile)
throws java.io.IOException
inputfile - InputStreamReader inputjava.io.IOException - IOException thrown| Method Detail |
public int insertTypes(AddressRecord rec)
rec - AddressRecord inputpublic int insertTitles(AddressRecord rec)
rec - AddressRecordpublic void insertRecord(AddressRecord rec)
rec - AddressRecord
public void readDocument(java.io.InputStreamReader inputfile)
throws java.io.IOException
readDocument in class DLPRecordCSVinputfile - InputStreamReaderjava.io.IOException - IOException
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||