logbook.io.csvImportParser
Class CsvImportParser
java.lang.Object
logbook.io.csvImportParser.CsvImportParser
public final class CsvImportParser
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsvImportParser
public CsvImportParser()
parseCsvFile
public java.lang.String parseCsvFile(java.io.File pCsvFileToParse,
java.util.ArrayList<java.lang.String> pFieldNameListOrdered,
ImportWzdGui iwzGui)
- Parameters:
csvFileToParse -
- Returns:
setLogBookController
public void setLogBookController(LogBookController pLgBkCntrlr)
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 © Chris Riffle - GNU Public Licence