public class IOUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Source |
createImportSource(InputSource source) |
static void |
marshal(PMML pmml,
File file) |
static void |
marshal(PMML pmml,
OutputStream os) |
static void |
marshal(PMML pmml,
Result result) |
static PMML |
unmarshal(File file) |
static PMML |
unmarshal(InputSource source) |
static PMML |
unmarshal(InputStream is) |
static Object |
unmarshal(Source source) |
public static Source createImportSource(InputSource source) throws SAXException
SAXExceptionpublic static PMML unmarshal(File file) throws IOException, SAXException, JAXBException
IOExceptionSAXExceptionJAXBExceptionpublic static PMML unmarshal(InputStream is) throws SAXException, JAXBException
SAXExceptionJAXBExceptionpublic static PMML unmarshal(InputSource source) throws SAXException, JAXBException
SAXExceptionJAXBExceptionpublic static Object unmarshal(Source source) throws JAXBException
JAXBExceptionpublic static void marshal(PMML pmml, File file) throws IOException, JAXBException
IOExceptionJAXBExceptionpublic static void marshal(PMML pmml, OutputStream os) throws JAXBException
JAXBExceptionpublic static void marshal(PMML pmml, Result result) throws JAXBException
JAXBExceptionCopyright © 2014 University of Tartu. All Rights Reserved.