Changeset 6516
- Timestamp:
- 09/21/15 14:27:44 (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
r6514 r6516 9 9 10 10 import eu.clarin.cmdi.vlo.pojo.VariantsMap; 11 import eu.clarin.cmdi.vlo.transformers.VariantsMapMarshaller; 11 12 12 13 /* … … 42 43 // load records from file 43 44 // in the future this should be loaded from CLAVAS directly and the file only used as fallback 44 InputStream is = PostProcessorsWithVocabularyMap.class.getResourceAsStream(mapUrl); 45 return (VariantsMap) VLOMarshaller.unmarshal(is, VariantsMap.class);45 InputStream is = PostProcessorsWithVocabularyMap.class.getResourceAsStream(mapUrl); 46 return VariantsMapMarshaller.unmarshal(is); 46 47 } catch (Exception e) { 47 48 throw new RuntimeException("Cannot instantiate postProcessor:", e);
Note: See TracChangeset
for help on using the changeset viewer.