Changeset 6581
- Timestamp:
- 09/23/15 09:28:17 (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
r6561 r6581 2 2 3 3 import java.io.InputStream; 4 import java.io.InputStreamReader; 5 import java.io.Reader; 4 6 import java.util.Map; 5 7 import java.util.Map.Entry; … … 44 46 // in the future this should be loaded from CLAVAS directly and the file only used as fallback 45 47 InputStream is = PostProcessorsWithVocabularyMap.class.getClassLoader().getResourceAsStream(mapUrl); 46 return VariantsMapMarshaller.unmarshal(is); 48 Reader reader = new InputStreamReader(is, "UTF-8"); 49 return VariantsMapMarshaller.unmarshal(reader); 47 50 } catch (Exception e) { 48 51 throw new RuntimeException("Cannot instantiate postProcessor:", e);
Note: See TracChangeset
for help on using the changeset viewer.