com.ricebridge.csvman
Class LineProviderSupport

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

public abstract class LineProviderSupport
extends Object
implements LineProvider

DO NOT USE. FOR BACKWARDS COMPATIBILITY ONLY.

This class is used for compatibility with CSV Manager 1.1. In that version, custom LineProviders inherited from LineProviderSupport, not CustomLineProvider. Since the method API has changed this class is no longer directly compatible. However, CSV Manager includes a compatibility layer so that existing code will continue to function without requiring any changes.

See Also:
CustomLineProvider

Constructor Summary
LineProviderSupport()
           
 
Method Summary
 void endProcess()
          CSV Manager 1.2 interface compatibility - does nothing.
 void endSave()
          Old version of CustomLineListener.endProcess.
abstract  void endSaveImpl()
          Old version of CustomLineListener.nextLineImpl.
 boolean hasNextField()
          Defunct method.
abstract  boolean hasNextFieldImpl()
          Defunct method.
 boolean hasNextLine()
          Old version of CustomLineListener.hasNextLine.
abstract  boolean hasNextLineImpl()
          Old version of CustomLineListener.nextLineImpl.
 String nextField()
          Defunct method.
abstract  String nextFieldImpl()
          Defunct method.
 String[] nextLine()
          Old version of CustomLineListener.nextLine.
abstract  void nextLineImpl()
          Old version of CustomLineListener.nextLineImpl.
 void setCsvSpec(CsvSpec pCsvSpec)
          CSV Manager 1.2 interface compatibility - does nothing.
protected  void setCsvSpecImpl(CsvSpec pCsvSpec)
          Compatibility version of CustomLineProvider.setCsvSpecImpl.
 void setLineSpec(LineSpec pLineSpec)
          CSV Manager 1.2 interface compatibility - does nothing.
protected  void setLineSpecImpl(LineSpec pLineSpec)
          Compatibility version of CustomLineProvider.setLineSpecImpl.
 void startProcess()
          CSV Manager 1.2 interface compatibility - does nothing.
 void startSave()
          Old version of CustomLineListener.startProcess.
abstract  void startSaveImpl()
          Old version of CustomLineListener.nextLineImpl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineProviderSupport

public LineProviderSupport()
Method Detail

startSave

public void startSave()
Old version of CustomLineListener.startProcess.


endSave

public void endSave()
Old version of CustomLineListener.endProcess.


hasNextLine

public boolean hasNextLine()
Old version of CustomLineListener.hasNextLine.

Specified by:
hasNextLine in interface LineProvider

hasNextField

public boolean hasNextField()
Defunct method. CustomLineListener.nextLine now returns String[]<./code>.


nextField

public String nextField()
Defunct method. CustomLineListener.nextLine now returns String[]<./code>.


nextLine

public String[] nextLine()
Old version of CustomLineListener.nextLine.

Specified by:
nextLine in interface LineProvider

setCsvSpecImpl

protected void setCsvSpecImpl(CsvSpec pCsvSpec)
                       throws Exception
Compatibility version of CustomLineProvider.setCsvSpecImpl.

Throws:
Exception

setLineSpecImpl

protected void setLineSpecImpl(LineSpec pLineSpec)
                        throws Exception
Compatibility version of CustomLineProvider.setLineSpecImpl.

Throws:
Exception

startSaveImpl

public abstract void startSaveImpl()
                            throws Exception
Old version of CustomLineListener.nextLineImpl.

Throws:
Exception

endSaveImpl

public abstract void endSaveImpl()
                          throws Exception
Old version of CustomLineListener.nextLineImpl.

Throws:
Exception

hasNextLineImpl

public abstract boolean hasNextLineImpl()
                                 throws Exception
Old version of CustomLineListener.nextLineImpl.

Throws:
Exception

hasNextFieldImpl

public abstract boolean hasNextFieldImpl()
                                  throws Exception
Defunct method. CustomLineListener.nextLine now returns String[]<./code>.

Throws:
Exception

nextFieldImpl

public abstract String nextFieldImpl()
                              throws Exception
Defunct method. CustomLineListener.nextLine now returns String[]<./code>.

Throws:
Exception

nextLineImpl

public abstract void nextLineImpl()
                           throws Exception
Old version of CustomLineListener.nextLineImpl.

Throws:
Exception

setLineSpec

public void setLineSpec(LineSpec pLineSpec)
CSV Manager 1.2 interface compatibility - does nothing.

Specified by:
setLineSpec in interface LineProvider
Parameters:
pLineSpec - field specification

setCsvSpec

public void setCsvSpec(CsvSpec pCsvSpec)
CSV Manager 1.2 interface compatibility - does nothing.

Specified by:
setCsvSpec in interface LineProvider
Parameters:
pCsvSpec - CsvSpec object

startProcess

public void startProcess()
CSV Manager 1.2 interface compatibility - does nothing.

Specified by:
startProcess in interface LineProvider

endProcess

public void endProcess()
CSV Manager 1.2 interface compatibility - does nothing.

Specified by:
endProcess in interface LineProvider


Copyright © 2003-2006 Ricebridge