Changeset 6586


Ignore:
Timestamp:
09/23/15 09:58:02 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-vocabularies/src/main/java/eu/clarin/cmdi/vlo/transformers/VariantsMapMarshaller.java

    r6585 r6586  
    44import java.io.InputStreamReader;
    55import java.io.OutputStream;
     6import java.io.UnsupportedEncodingException;
    67
    78import javax.xml.bind.JAXBContext;
     
    1516       
    1617       
    17     public static VariantsMap unmarshal(InputStream input)throws JAXBException{
     18    public static VariantsMap unmarshal(InputStream input)throws JAXBException, UnsupportedEncodingException{
    1819        JAXBContext jc = JAXBContext.newInstance(VariantsMap.class);
    1920        Unmarshaller unmarshaller = jc.createUnmarshaller();
    20         return (VariantsMap) unmarshaller.unmarshal((new InputStreamReader(input, "UTF-8")););       
     21        return (VariantsMap) unmarshaller.unmarshal((new InputStreamReader(input, "UTF-8")));       
    2122       
    2223    }
Note: See TracChangeset for help on using the changeset viewer.