Revision dfe7b9ee
Added by Andreas Müller over 6 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/identifier/IdentifierImport.java | ||
---|---|---|
36 | 36 |
* The csv file has to follow the following format: |
37 | 37 |
* <BR><BR> |
38 | 38 |
* 1. field: uuid of the {@link IdentifiableEntity} of class defined in configurator<BR> |
39 |
* 2. The value of the identifier (of type defined in configurator)<BR> |
|
39 |
* 2. The value of the identifier (of type defined in configurator)<BR><BR>
|
|
40 | 40 |
* |
41 | 41 |
* NOTE: This import was first written for #6542 |
42 | 42 |
* NOTE 2: TODO It was observed that the last line was not imported. |
... | ... | |
103 | 103 |
* @param i line counter |
104 | 104 |
* @return |
105 | 105 |
*/ |
106 |
private IdentifiableEntity<?> handleSingleLine(IdentifierImportConfigurator config, String[] strs,
|
|
107 |
DefinedTerm idType, int i) { |
|
106 |
private IdentifiableEntity<?> handleSingleLine(IdentifierImportConfigurator config, |
|
107 |
String[] strs, DefinedTerm idType, int i) {
|
|
108 | 108 |
|
109 | 109 |
//no data |
110 | 110 |
if (strs.length < 1){ |
Also available in: Unified diff
cleanup