Changeset 6584
- Timestamp:
- 09/23/15 09:48:14 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-3.3-oeaw/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/PostProcessorsWithVocabularyMap.java
r6582 r6584 2 2 3 3 import java.io.InputStream; 4 import java.io.InputStreamReader;5 import java.io.Reader;6 import java.nio.charset.StandardCharsets;7 4 import java.util.Map; 8 5 import java.util.Map.Entry; … … 47 44 // in the future this should be loaded from CLAVAS directly and the file only used as fallback 48 45 InputStream is = PostProcessorsWithVocabularyMap.class.getClassLoader().getResourceAsStream(mapUrl); 49 Reader reader = new InputStreamReader(is, StandardCharsets.UTF_8); 50 return VariantsMapMarshaller.unmarshal(reader); 46 return VariantsMapMarshaller.unmarshal(is); 51 47 } catch (Exception e) { 52 48 throw new RuntimeException("Cannot instantiate postProcessor:", e);
Note: See TracChangeset
for help on using the changeset viewer.