|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.tagtraum.sixbs.SIXBSWriter
Serializes beans to XML.
SIXBSReader| Field Summary | |
static String |
vcid
Source-Version |
| Constructor Summary | |
SIXBSWriter(OutputStream out,
boolean append)
Uses default char encoding. |
|
SIXBSWriter(OutputStream out,
boolean append,
String encoding)
For performance reasons the OutputStream should be buffered. sixbs does not buffer. |
|
SIXBSWriter(OutputStreamWriter out,
AdapterFinder adapterFinder,
boolean append)
For performance reasons the Writer should be buffered. sixbs does not buffer. sixbs will write with the systems default encoding or the encoding set in the provided writer. |
|
SIXBSWriter(Writer out)
For performance reasons the Writer should be buffered. sixbs does not buffer. sixbs will write with the systems default encoding or the encoding set in the provided buffer. |
|
SIXBSWriter(Writer out,
AdapterFinder adapterFinder,
boolean append)
For performance reasons the Writer should be buffered. sixbs does not buffer. sixbs will write with the systems default encoding or the encoding set in the provided writer. |
|
SIXBSWriter(Writer out,
AdapterFinder adapterFinder,
boolean append,
String encoding)
For performance reasons the Writer should be buffered. sixbs does not buffer. sixbs will write with the systems default encoding or the encoding set in the provided writer. |
|
SIXBSWriter(Writer out,
AdapterFinder adapterFinder,
boolean append,
String encoding,
String version)
For performance reasons the Writer should be buffered. sixbs does not buffer. sixbs will write with the systems default encoding or the encoding set in the provided writer. |
|
SIXBSWriter(Writer out,
boolean append)
For performance reasons the Writer should be buffered. sixbs does not buffer. sixbs will write with the systems default encoding or the encoding set in the provided writer. |
|
| Method Summary | |
void |
close()
Close the stream, flushing it first. |
void |
flush()
Flush the stream. |
void |
writeObject(Object obj)
Writes an object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String vcid
| Constructor Detail |
public SIXBSWriter(OutputStream out,
boolean append)
throws IOException
out - OutputStream to write objects to with the system's default encoding.append - if true, neither the XML declaration (<?xml version="1.0"?>) nor the sixbs tags are written.
public SIXBSWriter(OutputStream out,
boolean append,
String encoding)
throws IOException
out - OutputStream to write objects to with the system's default encoding.append - if true, neither the XML declaration (<?xml version="1.0"?>) nor the sixbs tags are written.encoding - char set to be used
public SIXBSWriter(Writer out)
throws IOException
out - Writer to write objects to.
public SIXBSWriter(Writer out,
boolean append)
throws IOException
append - if true, neither the XML declaration (<?xml version="1.0"?>) nor the sixbs tags are written.out - Writer to write objects to.
public SIXBSWriter(Writer out,
AdapterFinder adapterFinder,
boolean append)
throws IOException
out - Writer to write objects to.append - if true, neither the XML declaration (<?xml version="1.0"?>) nor the sixbs tags are written.
public SIXBSWriter(OutputStreamWriter out,
AdapterFinder adapterFinder,
boolean append)
throws IOException
out - Writer to write objects to with the specified encoding.append - if true, neither the XML declaration (<?xml version="1.0"?>) nor the sixbs tags are written.adapterFinder - the adapterFinder to use
public SIXBSWriter(Writer out,
AdapterFinder adapterFinder,
boolean append,
String encoding)
throws IOException
out - Writer to write objects to with the specified encoding.append - if true, neither the XML declaration (<?xml version="1.0"?>) nor the sixbs tags are written.adapterFinder - the adapterFinder to useencoding - encoding that is used by the writer - set null, if unknwon
public SIXBSWriter(Writer out,
AdapterFinder adapterFinder,
boolean append,
String encoding,
String version)
throws IOException
out - Writer to write objects to with the specified encoding.append - if true, neither the XML declaration (<?xml version="1.0"?>) nor the sixbs tags are written.adapterFinder - the adapterFinder to useencoding - encoding that is used by the writer - set null, if unknwonversion - version of the writerimpl that is to be instantiated| Method Detail |
public void writeObject(Object obj)
throws IOException
IOException
public void flush()
throws IOException
IOException - If an I/O error occurs
public void close()
throws IOException
IOException - If an I/O error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||