public class ImportLineProcessor extends Object implements net.sf.csv4j.CSVLineProcessor
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.common.dbinterface.queries.Insert |
insertValues |
protected org.gcube.common.dbinterface.pool.DBSession |
session |
| Constructor and Description |
|---|
ImportLineProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueProcessing() |
int |
getImportedLines() |
void |
processDataLine(int lineNumber,
List<String> fields) |
void |
processHeaderLine(int arg0,
List<String> arg1) |
void |
setEvent(ProgresChangedEvent event) |
void |
setTable(org.gcube.common.dbinterface.tables.SimpleTable table) |
protected org.gcube.common.dbinterface.queries.Insert insertValues
protected org.gcube.common.dbinterface.pool.DBSession session
public void setTable(org.gcube.common.dbinterface.tables.SimpleTable table)
table - the table to setpublic void setEvent(ProgresChangedEvent event)
event - the event to setpublic boolean continueProcessing()
continueProcessing in interface net.sf.csv4j.CSVLineProcessorpublic void processDataLine(int lineNumber,
List<String> fields)
processDataLine in interface net.sf.csv4j.CSVLineProcessorpublic void processHeaderLine(int arg0,
List<String> arg1)
processHeaderLine in interface net.sf.csv4j.CSVLineProcessorpublic int getImportedLines()
Copyright © 2014. All Rights Reserved.