Changeset 6588


Ignore:
Timestamp:
09/23/15 10:22:11 (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

    r6587 r6588  
    22
    33import java.io.InputStream;
    4 import java.io.InputStreamReader;
    54import java.io.OutputStream;
    6 import java.io.UnsupportedEncodingException;
    75
    86import javax.xml.bind.JAXBContext;
     
    1614       
    1715       
    18     public static VariantsMap unmarshal(InputStream input)throws JAXBException, UnsupportedEncodingException{
     16    public static VariantsMap unmarshal(InputStream input)throws JAXBException{
    1917        JAXBContext jc = JAXBContext.newInstance(VariantsMap.class);
    2018        Unmarshaller unmarshaller = jc.createUnmarshaller();
    21         return (VariantsMap) unmarshaller.unmarshal((new InputStreamReader(input, "iso-8859-1")));       
     19        return (VariantsMap) unmarshaller.unmarshal(input);       
    2220       
    2321    }
Note: See TracChangeset for help on using the changeset viewer.