org.gcube.contentmanagement.codelistmanager.util.csv
Class ImportLineProcessor
java.lang.Object
org.gcube.contentmanagement.codelistmanager.util.csv.ImportLineProcessor
- All Implemented Interfaces:
- net.sf.csv4j.CSVLineProcessor
public class ImportLineProcessor
- extends Object
- implements net.sf.csv4j.CSVLineProcessor
- Author:
- lucio
|
Field Summary |
protected org.gcube.common.dbinterface.queries.Insert |
insertValues
|
protected org.gcube.common.dbinterface.pool.DBSession |
session
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
insertValues
protected org.gcube.common.dbinterface.queries.Insert insertValues
session
protected org.gcube.common.dbinterface.pool.DBSession session
ImportLineProcessor
public ImportLineProcessor()
setTable
public void setTable(org.gcube.common.dbinterface.tables.SimpleTable table)
- Parameters:
table - the table to set
setEvent
public void setEvent(ProgresChangedEvent event)
- Parameters:
event - the event to set
continueProcessing
public boolean continueProcessing()
- Specified by:
continueProcessing in interface net.sf.csv4j.CSVLineProcessor
processDataLine
public void processDataLine(int lineNumber,
List<String> fields)
- Specified by:
processDataLine in interface net.sf.csv4j.CSVLineProcessor
processHeaderLine
public void processHeaderLine(int arg0,
List<String> arg1)
- Specified by:
processHeaderLine in interface net.sf.csv4j.CSVLineProcessor
getImportedLines
public int getImportedLines()
- Returns:
- the importedLines
Copyright © 2013. All Rights Reserved.