|
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
A container for the CSV representation of the DLPRecord.
JSCSVDocument,
DLPRecord,
org.w3c.dom.Document,
org.w3c.dom.NamedNodeMap| Field Summary |
| Fields inherited from class org.jSyncManager.API.Conduit.Tools.JSCSVDocument |
DATATYPE_ROW, DLPRECORD_COLS, headerrows, TITLE_ROW |
| Constructor Summary | |
DLPRecordCSV()
Create new DLPRecordCSV with default name. |
|
DLPRecordCSV(DLPRecord rec)
Create new DLPRecordCSV from given DLPRecord. |
|
DLPRecordCSV(java.io.File document)
Create new DLPRecordCSV from given java.io.File input. |
|
DLPRecordCSV(java.io.InputStreamReader inputfile)
Create new DLPRecordCSV from given InputStreamReader stream input. |
|
| Method Summary | |
int |
insertRecord(DLPRecord rec)
|
int |
insertTitles(DLPRecord rec)
Insert TITLE_ROW into document from DLPRecordCSX.dlprecordtitles. |
int |
insertTypes(DLPRecord rec)
Insert DATATYPE_ROW into document from DLPRecordCSX.dlprecordtypes. |
void |
readDocument(java.io.InputStreamReader inputfile)
Read document from an InputStreamReader stream and parse. |
void |
readDocument(int row)
Read document from the given row number. |
| 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 |
| Constructor Detail |
public DLPRecordCSV()
public DLPRecordCSV(DLPRecord rec)
rec - DLPRecord to be parsed into element.
public DLPRecordCSV(java.io.File document)
throws java.io.IOException
document - java.io.File object to be parsed into element.
java.io.IOException
public DLPRecordCSV(java.io.InputStreamReader inputfile)
throws java.io.IOException
inputfile - InputStreamReader stream to be parsed into element.
java.io.IOException| Method Detail |
public void readDocument(java.io.InputStreamReader inputfile)
throws java.io.IOException
readDocument in class JSCSVDocumentinputfile - InputStreamReader to parse document from.
java.io.IOExceptionpublic void readDocument(int row)
row - Row number to parse into DLPRecord.public int insertRecord(DLPRecord rec)
public int insertTypes(DLPRecord rec)
rec - DLPRecord to be inserted.
public int insertTitles(DLPRecord rec)
rec - DLPRecord to be inserted.
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||