org.jpmml.manager
Class IOUtil
java.lang.Object
org.jpmml.manager.IOUtil
public class IOUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createImportSource
public static Source createImportSource(InputSource source)
throws SAXException
- Throws:
SAXException
unmarshal
public static PMML unmarshal(File file)
throws IOException,
SAXException,
javax.xml.bind.JAXBException
- Throws:
IOException
SAXException
javax.xml.bind.JAXBException
unmarshal
public static PMML unmarshal(InputStream is)
throws SAXException,
javax.xml.bind.JAXBException
- Throws:
SAXException
javax.xml.bind.JAXBException
unmarshal
public static PMML unmarshal(InputSource source)
throws SAXException,
javax.xml.bind.JAXBException
- Throws:
SAXException
javax.xml.bind.JAXBException
marshal
public static void marshal(PMML pmml,
File file)
throws IOException,
javax.xml.bind.JAXBException
- Throws:
IOException
javax.xml.bind.JAXBException
marshal
public static void marshal(PMML pmml,
OutputStream os)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public static void marshal(PMML pmml,
Result result)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
Copyright © 2013 University of Tartu. All Rights Reserved.