logbook.io.csvImportParser
Class CsvImportParser

java.lang.Object
  extended by logbook.io.csvImportParser.CsvImportParser

public final class CsvImportParser
extends java.lang.Object


Constructor Summary
CsvImportParser()
           
 
Method Summary
 java.lang.String parseCsvFile(java.io.File pCsvFileToParse, java.util.ArrayList<java.lang.String> pFieldNameListOrdered, ImportWzdGui iwzGui)
           
protected  void processLine(java.lang.String lineToScan, ImportWzdGui iwzdGui)
          one heck of a nice solution!!! for handling the extra commas in the remarks section!!! :o)
 java.lang.String processLineByLine(ImportWzdGui izGui)
          use a Scanner to get each line, returns a string with error messages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvImportParser

public CsvImportParser()
Method Detail

parseCsvFile

public java.lang.String parseCsvFile(java.io.File pCsvFileToParse,
                                     java.util.ArrayList<java.lang.String> pFieldNameListOrdered,
                                     ImportWzdGui iwzGui)
Parameters:
csvFileToParse -
Returns:

processLineByLine

public final java.lang.String processLineByLine(ImportWzdGui izGui)
use a Scanner to get each line, returns a string with error messages


processLine

protected void processLine(java.lang.String lineToScan,
                           ImportWzdGui iwzdGui)
                    throws java.io.IOException
one heck of a nice solution!!! for handling the extra commas in the remarks section!!! :o)

Throws:
java.io.IOException


Copyright © JFlightLog GNU