public class SpeciesEntityImporter extends Object implements EntityImporter
| Constructor and Description |
|---|
SpeciesEntityImporter() |
| Modifier and Type | Method and Description |
|---|---|
int |
importEntity(Repository<? extends Entity> repository,
Database db,
Database.DatabaseAction dbAction)
Imports Species from tab/comma delimited File
|
public int importEntity(Repository<? extends Entity> repository, Database db, Database.DatabaseAction dbAction) throws IOException, DatabaseException
importEntity in interface EntityImporterdb - database to import intoreader - csv reader to load data fromdefaults - to set default values for each rowdbAction - indicating wether to add,update,remove etcmissingValues - indicating what value in the csv is treated as 'null' (e.g. "" or "NA")IOExceptionDatabaseExceptionCopyright © 2013. All Rights Reserved.