public class CMLUtils
extends java.lang.Object
| Constructor and Description |
|---|
CMLUtils() |
| Modifier and Type | Method and Description |
|---|---|
static CommerceML |
readCML(java.io.File file) |
static CommerceML |
readCML(java.io.InputStream stream) |
static void |
writeCML(CommerceML cml,
java.io.File file) |
static void |
writeCML(CommerceML cml,
java.io.OutputStream stream) |
public static CommerceML readCML(java.io.File file) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static CommerceML readCML(java.io.InputStream stream) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static void writeCML(CommerceML cml, java.io.File file) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static void writeCML(CommerceML cml, java.io.OutputStream stream) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException