com.ricebridge.csvman
Class LineProviderFixer

java.lang.Object
  extended bycom.ricebridge.csvman.LineProviderSupportImpl
      extended bycom.ricebridge.csvman.LineProviderFixer
All Implemented Interfaces:
LineProvider

public class LineProviderFixer
extends LineProviderSupportImpl

Compatibility fixer class for previous LineProviderSupport implementations.

In CSV Manager 1.1, custom LineProviders extended LineProviderSupport. This is no longer recommended. LineProviders should now extend CustomLineProvider. This fixer class provides a compatibility wrapper around these older LineProviders so that they will still work unchanged with CSV Manager.


Field Summary
protected  LineProviderSupport iLineProviderSupport
          Wrapped LineProviderSupport instance.
 
Constructor Summary
LineProviderFixer(LineProviderSupport pLineProviderSupport)
          Create a new wrapping.
 
Method Summary
protected  void endProcessImpl()
          Compatibility wrapper.
protected  boolean hasNextLineImpl()
          Compatibility wrapper.
protected  String[] nextLineImpl()
          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.LineProviderSupportImpl
endProcess, hasNextLine, nextLine, setCsvSpec, setLineSpec, startProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iLineProviderSupport

protected LineProviderSupport iLineProviderSupport
Wrapped LineProviderSupport instance.

Constructor Detail

LineProviderFixer

public LineProviderFixer(LineProviderSupport pLineProviderSupport)
Create a new wrapping.

Method Detail

setLineSpecImpl

protected void setLineSpecImpl(LineSpec pLineSpec)
                        throws Exception
Compatibility wrapper.

Specified by:
setLineSpecImpl in class LineProviderSupportImpl
Throws:
Exception

setCsvSpecImpl

protected void setCsvSpecImpl(CsvSpec pCsvSpec)
                       throws Exception
Compatibility wrapper.

Specified by:
setCsvSpecImpl in class LineProviderSupportImpl
Throws:
Exception

startProcessImpl

protected void startProcessImpl()
                         throws Exception
Compatibility wrapper.

Specified by:
startProcessImpl in class LineProviderSupportImpl
Throws:
Exception

endProcessImpl

protected void endProcessImpl()
                       throws Exception
Compatibility wrapper.

Specified by:
endProcessImpl in class LineProviderSupportImpl
Throws:
Exception

hasNextLineImpl

protected boolean hasNextLineImpl()
                           throws Exception
Compatibility wrapper.

Specified by:
hasNextLineImpl in class LineProviderSupportImpl
Throws:
Exception

nextLineImpl

protected String[] nextLineImpl()
                         throws Exception
Compatibility wrapper.

Specified by:
nextLineImpl in class LineProviderSupportImpl
Throws:
Exception


Copyright © 2003-2006 Ricebridge