|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.csvman.LineListenerSupportImpl
com.ricebridge.csvman.LineListenerFixer
Compatibility fixer class for previous LineListenerSupport implementations.
In CSV Manager 1.1, custom LineListeners extended
LineListenerSupport. This is no longer recommended. LineListeners
should now extend CustomLineListener. This fixer class provides a compatibility wrapper
around these older LineListeners so that they will still work
unchanged with CSV Manager.
| Field Summary | |
protected LineListenerSupport |
iLineListenerSupport
Wrapped LineListenerSupport instance. |
| Constructor Summary | |
LineListenerFixer(LineListenerSupport pLineListenerSupport)
Create a new wrapping. |
|
| Method Summary | |
protected void |
endProcessImpl()
Compatibility wrapper. |
protected void |
handleBadLineImpl(BadLine pBadLine)
Compatibility wrapper. |
BadLine |
handleLineImpl(String[] pLine,
int pNumFields,
long pLineNumber,
String pOriginalLine)
Compatibility wrapper. |
protected void |
setCsvSpecImpl(CsvSpec pCsvSpec)
Compatibility wrapper. |
protected void |
setLineSpecImpl(LineSpec pLineSpec)
Compatibility wrapper. |
protected void |
startProcessImpl()
Compatibility wrapper. |
| Methods inherited from class com.ricebridge.csvman.LineListenerSupportImpl |
endProcess, handleBadLine, handleLine, setCsvSpec, setLineSpec, startProcess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected LineListenerSupport iLineListenerSupport
LineListenerSupport instance.
| Constructor Detail |
public LineListenerFixer(LineListenerSupport pLineListenerSupport)
| Method Detail |
protected void setLineSpecImpl(LineSpec pLineSpec)
throws Exception
setLineSpecImpl in class LineListenerSupportImplException
protected void setCsvSpecImpl(CsvSpec pCsvSpec)
throws Exception
setCsvSpecImpl in class LineListenerSupportImplException
protected void startProcessImpl()
throws Exception
startProcessImpl in class LineListenerSupportImplException
protected void endProcessImpl()
throws Exception
endProcessImpl in class LineListenerSupportImplException
protected void handleBadLineImpl(BadLine pBadLine)
throws Exception
handleBadLineImpl in class LineListenerSupportImplException
public BadLine handleLineImpl(String[] pLine,
int pNumFields,
long pLineNumber,
String pOriginalLine)
handleLineImpl in class LineListenerSupportImpl
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||