nl.fountain.xelem
Class XSerializer
java.lang.Object
nl.fountain.xelem.XSerializer
public class XSerializer
- extends Object
A conveniance class for serializing Workbooks.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
US_ASCII
public static final String US_ASCII
- See Also:
- Constant Field Values
XSerializer
public XSerializer()
XSerializer
public XSerializer(String encoding)
serializeToString
public String serializeToString(Workbook wb)
throws XelemException
- Throws:
XelemException
serializeToString
public String serializeToString(Document doc)
throws XelemException
- Throws:
XelemException
serialize
public void serialize(Workbook wb)
throws XelemException
- Serializes the Workbook to the file specified with the Workbook's
getFileName
-method.
- Throws:
XelemException
serialize
public void serialize(Workbook wb,
File out)
throws XelemException
- Throws:
XelemException
serialize
public void serialize(Document doc,
File out)
throws XelemException
- Throws:
XelemException
serialize
public void serialize(Workbook wb,
OutputStream out)
throws XelemException
- Throws:
XelemException
serialize
public void serialize(Document doc,
OutputStream out)
throws XelemException
- Throws:
XelemException
serialize
public void serialize(Workbook wb,
Writer out)
throws XelemException
- Throws:
XelemException
serialize
public void serialize(Document doc,
Writer out)
throws XelemException
- Throws:
XelemException