org.milyn.csv
Class CSVRecordParser<T extends CSVRecordParserFactory>

java.lang.Object
  extended by org.milyn.flatfile.variablefield.VariableFieldRecordParser<T>
      extended by org.milyn.csv.CSVRecordParser<T>
All Implemented Interfaces:
org.milyn.flatfile.RecordParser<T>

public class CSVRecordParser<T extends CSVRecordParserFactory>
extends org.milyn.flatfile.variablefield.VariableFieldRecordParser<T>

CSV record parser.

Author:
tom.fennelly@gmail.com

Constructor Summary
CSVRecordParser()
           
 
Method Summary
 List<String> nextRecordFieldValues()
          
 void setDataSource(InputSource source)
          
protected  void validateHeader(List<String> headers)
           
 
Methods inherited from class org.milyn.flatfile.variablefield.VariableFieldRecordParser
getFactory, getRecordCount, getUnignoredFieldCount, initialize, nextRecord, setRecordParserFactory, uninitialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVRecordParser

public CSVRecordParser()
Method Detail

setDataSource

public void setDataSource(InputSource source)


nextRecordFieldValues

public List<String> nextRecordFieldValues()
                                   throws IOException

Specified by:
nextRecordFieldValues in class org.milyn.flatfile.variablefield.VariableFieldRecordParser<T extends CSVRecordParserFactory>
Throws:
IOException

validateHeader

protected void validateHeader(List<String> headers)
Overrides:
validateHeader in class org.milyn.flatfile.variablefield.VariableFieldRecordParser<T extends CSVRecordParserFactory>


Copyright © 2018. All rights reserved.