Revision f7f4a80d
Added by Andreas Müller over 13 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/TermVocabulary.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.cdm.model.common; |
11 | 11 |
|
12 | 12 |
|
13 |
import java.net.URI; |
|
13 | 14 |
import java.util.HashSet; |
14 | 15 |
import java.util.Iterator; |
15 | 16 |
import java.util.List; |
... | ... | |
172 | 173 |
|
173 | 174 |
public TermVocabulary<T> readCsvLine(List<String> csvLine, Language lang) { |
174 | 175 |
this.setUuid(UUID.fromString(csvLine.get(0))); |
175 |
this.setUri(csvLine.get(1));
|
|
176 |
this.setUri(URI.create(csvLine.get(1)));
|
|
176 | 177 |
//this.addRepresentation(Representation.NewInstance(csvLine.get(3), csvLine.get(2).trim(), lang) ); |
177 | 178 |
return this; |
178 | 179 |
} |
Also available in: Unified diff
make termbase.uri and GenBankAccession.uri real java.net.URI #2340