public class OrganisationData extends AbstractCsvDataProvider<Organisation>
Constructor and Description |
---|
OrganisationData(File importPath)
Creates a new instance of
OrganisationData . |
Modifier and Type | Method and Description |
---|---|
protected Organisation |
createEntity(Map<String,String> row)
Builds one entity from the given row.
|
addColumnMapping, addConverter, applyColumn, buildEntities, convertColumn, createEntities, createEntity, getEntityClass, getOrder, useTableColumns, writeEntities
getDefaultEncoding, openCsvListReader, readImportFiles
public OrganisationData(File importPath)
OrganisationData
.importPath
- the path to the directory of organisation.csvprotected Organisation createEntity(Map<String,String> row)
AbstractCsvDataProvider
createEntity
in class AbstractCsvDataProvider<Organisation>
row
- contains the mapping from the header names to the current row dataCopyright © 2016 fastnate.org. All rights reserved.