org.gcube.contentmanagement.codelistmanager.util.csv
Class InitializerProcessor
java.lang.Object
org.gcube.contentmanagement.codelistmanager.util.csv.InitializerProcessor
- All Implemented Interfaces:
- net.sf.csv4j.CSVLineProcessor
public class InitializerProcessor
- extends Object
- implements net.sf.csv4j.CSVLineProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitializerProcessor
public InitializerProcessor()
getTableDefinition
public List<org.gcube.common.dbinterface.ColumnDefinition> getTableDefinition()
getFieldNames
public Hashtable<String,TableField> getFieldNames()
getTotalLines
public int getTotalLines()
- Returns:
- the totalLine
processHeaderLine
public void processHeaderLine(int lineNumber,
List<String> fields)
- Specified by:
processHeaderLine in interface net.sf.csv4j.CSVLineProcessor
processDataLine
public void processDataLine(int lineNumber,
List<String> fields)
- Specified by:
processDataLine in interface net.sf.csv4j.CSVLineProcessor
continueProcessing
public boolean continueProcessing()
- Specified by:
continueProcessing in interface net.sf.csv4j.CSVLineProcessor
onHeaderLine
public void onHeaderLine(int lineNumber,
List<String> fields)
onDataLine
public void onDataLine(int lineNumber,
List<String> fields)
Copyright © 2013. All Rights Reserved.