|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.csvman.LineProviderSupportImpl
Helper class for implementing the LineProvider interface.
Please do not extend this class directly. CustomLineProvider extends this class, and
CustomLineProvider is the class you should should extend when implementing your own
LineProviders. This class only provides internal error checking.
Compatibility note: This class will replace LineProviderSupport in CSV Manager 2.x.
The current LineProviderSupport class in CSV Manager 1.x is a compatibility
class for existing customers with custom LineProviders, and should not be used for new
code. If this means nothing to you, just remember that the golden rule is
"use CustomLineProvider, and things will just work."
The Source Code of this Java class is available under a BSD-style license.
LineProvider,
LineProviderSupport,
CustomLineProvider| Constructor Summary | |
LineProviderSupportImpl()
|
|
| Method Summary | |
void |
endProcess()
Helper implementation of LineProvider.endProcess. |
protected abstract void |
endProcessImpl()
|
boolean |
hasNextLine()
Helper implementation of LineProvider.hasNextLine. |
protected abstract boolean |
hasNextLineImpl()
|
String[] |
nextLine()
Helper implementation of LineProvider.nextLine. |
protected abstract String[] |
nextLineImpl()
|
void |
setCsvSpec(CsvSpec pCsvSpec)
Helper implementation of LineProvider.setCsvSpec. |
protected abstract void |
setCsvSpecImpl(CsvSpec pCsvSpec)
|
void |
setLineSpec(LineSpec pLineSpec)
Helper implementation of LineProvider.setLineSpec. |
protected abstract void |
setLineSpecImpl(LineSpec pLineSpec)
|
void |
startProcess()
Helper implementation of LineProvider.startProcess. |
protected abstract void |
startProcessImpl()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LineProviderSupportImpl()
| Method Detail |
public void setCsvSpec(CsvSpec pCsvSpec)
LineProvider.setCsvSpec.
Subclasses should implement setCsvSpecImpl.
setCsvSpec in interface LineProviderpCsvSpec - CsvSpec objectpublic void setLineSpec(LineSpec pLineSpec)
LineProvider.setLineSpec.
Subclasses should implement setLineSpecImpl.
setLineSpec in interface LineProviderpLineSpec - field specificationpublic void startProcess()
LineProvider.startProcess.
Subclasses should implement startProcessImpl.
startProcess in interface LineProviderpublic boolean hasNextLine()
LineProvider.hasNextLine.
Sub classes should implement hasNextLineImpl.
hasNextLine in interface LineProviderpublic String[] nextLine()
LineProvider.nextLine.
Sub classes should implement nextLineImpl.
nextLine in interface LineProviderpublic void endProcess()
LineProvider.endProcess.
Subclasses should implement endProcessImpl.
endProcess in interface LineProvider
protected abstract void setCsvSpecImpl(CsvSpec pCsvSpec)
throws Exception
Exception
protected abstract void setLineSpecImpl(LineSpec pLineSpec)
throws Exception
Exception
protected abstract void startProcessImpl()
throws Exception
Exception
protected abstract boolean hasNextLineImpl()
throws Exception
Exception
protected abstract String[] nextLineImpl()
throws Exception
Exception
protected abstract void endProcessImpl()
throws Exception
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||