public class CsvImportState<CONFIG extends CsvImportConfiguratorBase> extends ImportStateBase<CONFIG,CsvImportBase>
csv imports
. This
class can either be used directly or being subclassed
according to the needs of a certain import.service, stores
config
Modifier | Constructor and Description |
---|---|
protected |
CsvImportState(CONFIG config) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getCurrentRecord()
Map representation of the current line.
|
ImportDeduplicationHelper<CsvImportState> |
getDedupHelper() |
java.lang.String |
getLine()
String representation of the line number in the csv
getRow() |
int |
getRow()
Integer representation of the line number in the csv.
|
Reference |
getSourceReference() |
void |
resetSession() |
void |
setCurrentRecord(java.util.Map<java.lang.String,java.lang.String> currentRecord) |
void |
setDedupHelper(ImportDeduplicationHelper<CsvImportState> dedupHelper) |
void |
setRow(int row) |
void |
setSourceReference(Reference sourceReference) |
countTrees, countTreeUuids, getAnnotationType, getExtensionType, getFeature, getIdentifierType, getKindOfUnit, getLanguage, getMarkerType, getMeasurementUnit, getModifier, getNamedArea, getNamedAreaLevel, getNomenclaturalStatusType, getPresenceAbsenceTerm, getRank, getReferenceSystem, getReportAsByteArray, getStateTerm, getStatisticalMeasure, getStatusItem, getStore, getStores, getTaxonRelationshipType, getTermedVocabulary, getTransformer, getTree, getTreeUuid, getTreeUuidByIntTreeKey, getTreeUuidByTreeKey, isCheck, isSuccess, putAnnotationType, putClassificationUuid, putClassificationUuidInt, putExtensionType, putFeature, putIdentifierType, putKindOfUnit, putLanguage, putMarkerType, putMeasurementUnit, putModifier, putNamedArea, putNamedAreaLevel, putNomenclaturalStatusType, putPresenceAbsenceTerm, putRank, putReferenceSystem, putStateTerm, putStatisticalMeasure, putStatusItem, putTaxonRelationshipType, putTermedVocabularyMap, putTree, putTreeUuid, resetUuidTermMaps, setCheck, setStores, setSuccess, setTransformer, setUnsuccessfull
getConfig, getCurrentIO, getResult, initialize, setConfig, setCurrentIO, setResult
protected CsvImportState(CONFIG config)
public void resetSession()
public java.util.Map<java.lang.String,java.lang.String> getCurrentRecord()
public void setCurrentRecord(java.util.Map<java.lang.String,java.lang.String> currentRecord)
public int getRow()
getLine()
public void setRow(int row)
public java.lang.String getLine()
getRow()
public ImportDeduplicationHelper<CsvImportState> getDedupHelper()
public void setDedupHelper(ImportDeduplicationHelper<CsvImportState> dedupHelper)
public Reference getSourceReference()
public void setSourceReference(Reference sourceReference)
Copyright © 2007-2020 EDIT. All Rights Reserved.