Revision dd2c540b
Added by Andreas Kohlbecker over 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/iapt/IAPTExcelImport.java | ||
---|---|---|
1075 | 1075 |
value = StringUtils.replace(value, ">l", "ğ"); |
1076 | 1076 |
|
1077 | 1077 |
value = StringUtils.replace(value, "§B>i", "ł"); |
1078 |
|
|
1079 |
|
|
1078 |
value = StringUtils.replace(value, "¤", "ń"); |
|
1080 | 1079 |
|
1081 | 1080 |
return value; |
1082 | 1081 |
} |
... | ... | |
1139 | 1138 |
} |
1140 | 1139 |
|
1141 | 1140 |
private boolean excludeFromImport(SimpleExcelTaxonImportState<CONFIG> state) { |
1142 |
boolean include = false; |
|
1143 | 1141 |
if(state.getConfig().isDoAlgeaeOnly()){ |
1142 |
boolean include = false; |
|
1144 | 1143 |
String higherTaxon = getValue(state.getOriginalRecord(), HIGHERTAXON, true); |
1145 | 1144 |
String fullNameStr = getValue(state.getOriginalRecord(), FULLNAME, true); |
1146 | 1145 |
include |= higherTaxon.matches(".*?PHYCEAE(?:$|\\s+)"); |
... | ... | |
1155 | 1154 |
"Navicula " |
1156 | 1155 |
}) |
1157 | 1156 |
include |= fullNameStr.startsWith(test); |
1157 |
return !include; |
|
1158 | 1158 |
} |
1159 | 1159 |
|
1160 |
return !include;
|
|
1160 |
return false;
|
|
1161 | 1161 |
} |
1162 | 1162 |
|
1163 | 1163 |
private ExtensionType getExtensionTypeIAPTRegData() { |
Also available in: Unified diff
fix #6035 one more broken character