public class CsvImporter extends ImpExpBase implements Executable<Boolean>
Constructor and Description |
---|
CsvImporter(String sourceCsvFile,
ConnectionContext targetDb,
String targetSqlTemplate) |
Modifier and Type | Method and Description |
---|---|
protected ImportFlavour |
createFlavour(File f) |
Boolean |
execute() |
protected ConnectionContext |
getConnectionContext() |
exportDataTo, importDataFrom, setDataRowListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public CsvImporter(String sourceCsvFile, ConnectionContext targetDb, String targetSqlTemplate)
public Boolean execute() throws MintleafException
execute
in interface Executable<Boolean>
MintleafException
protected ImportFlavour createFlavour(File f) throws FileNotFoundException
FileNotFoundException
protected ConnectionContext getConnectionContext()
getConnectionContext
in class ImpExpBase
Copyright © 2017. All rights reserved.