|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.csvman.FieldListenerSupport
com.ricebridge.csvman.test.CsvManagerTest.TestFieldListener
Text FieldListener
| Field Summary | |
StringBuffer |
badlines
|
StringBuffer |
buffer
|
boolean |
failon3
|
long |
linecount
|
StringBuffer |
origbuf
|
| Constructor Summary | |
CsvManagerTest.TestFieldListener()
|
|
| Method Summary | |
void |
addFieldImpl(String pValue)
Implement this method to receive each data field as it is loaded. |
void |
badLineImpl(BadLine pBadLine)
Implement this method to be notified when badly formatted data is encountered. |
BadLine |
endLineImpl()
DO NOT USE THIS METHOD. |
BadLine |
endLineImpl(String pOriginalLine,
long pLineNumber)
Implement this method to be notified of the end of each data line. |
void |
endLoadImpl()
Implement this method to receive notification that loading of CSV data has ended. |
void |
startLoadImpl()
Implement this method to receive notification that loading of CSV data is about to start. |
| Methods inherited from class com.ricebridge.csvman.FieldListenerSupport |
addField, badLine, endLine, endLoad, startLoad |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public long linecount
public StringBuffer buffer
public StringBuffer badlines
public StringBuffer origbuf
public boolean failon3
| Constructor Detail |
public CsvManagerTest.TestFieldListener()
| Method Detail |
public void startLoadImpl()
FieldListenerSupport
startLoadImpl in class FieldListenerSupportpublic void endLoadImpl()
FieldListenerSupport
endLoadImpl in class FieldListenerSupportpublic void addFieldImpl(String pValue)
FieldListenerSupport
addFieldImpl in class FieldListenerSupportpValue - String value of data fieldFieldListener.addField(java.lang.String)public void badLineImpl(BadLine pBadLine)
FieldListenerSupport
badLineImpl in class FieldListenerSupportFieldListener.badLine(com.ricebridge.csvman.BadLine)public BadLine endLineImpl()
FieldListenerSupport
endLineImpl in class FieldListenerSupport
public BadLine endLineImpl(String pOriginalLine,
long pLineNumber)
FieldListenerSupport
endLineImpl in class FieldListenerSupportFieldListener.endLine(java.lang.String, long)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||