|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tagtraum.sixbs.SIXBSWriter
Serializes beans to XML.
SIXBSReader| Field Summary | |
static java.lang.String |
vcid
Source-Version |
| Constructor Summary | |
SIXBSWriter(java.io.OutputStream out,
boolean append)
Uses default char encoding. |
|
SIXBSWriter(java.io.OutputStream out,
boolean append,
java.lang.String encoding)
For performance reasons the OutputStream should be buffered. |
|
SIXBSWriter(java.io.OutputStreamWriter out,
AdapterFinder adapterFinder,
boolean append)
For performance reasons the Writer should be buffered. |
|
SIXBSWriter(java.io.Writer out)
For performance reasons the Writer should be buffered. |
|
SIXBSWriter(java.io.Writer out,
AdapterFinder adapterFinder,
boolean append)
For performance reasons the Writer should be buffered. |
|
SIXBSWriter(java.io.Writer out,
AdapterFinder adapterFinder,
boolean append,
java.lang.String encoding)
For performance reasons the Writer should be buffered. |
|
SIXBSWriter(java.io.Writer out,
AdapterFinder adapterFinder,
boolean append,
java.lang.String encoding,
java.lang.String version)
For performance reasons the Writer should be buffered. |
|
SIXBSWriter(java.io.Writer out,
boolean append)
For performance reasons the Writer should be buffered. |
|
| Method Summary | |
void |
close()
Close the stream, flushing it first. |
void |
flush()
Flush the stream. |
void |
writeObject(java.lang.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 java.lang.String vcid
| Constructor Detail |
public SIXBSWriter(java.io.OutputStream out,
boolean append)
throws java.io.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(java.io.OutputStream out,
boolean append,
java.lang.String encoding)
throws java.io.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(java.io.Writer out)
throws java.io.IOException
out - Writer to write objects to.
public SIXBSWriter(java.io.Writer out,
boolean append)
throws java.io.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(java.io.Writer out,
AdapterFinder adapterFinder,
boolean append)
throws java.io.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(java.io.OutputStreamWriter out,
AdapterFinder adapterFinder,
boolean append)
throws java.io.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(java.io.Writer out,
AdapterFinder adapterFinder,
boolean append,
java.lang.String encoding)
throws java.io.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(java.io.Writer out,
AdapterFinder adapterFinder,
boolean append,
java.lang.String encoding,
java.lang.String version)
throws java.io.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(java.lang.Object obj)
throws java.io.IOException
java.io.IOException
public void flush()
throws java.io.IOException
java.io.IOException - If an I/O error occurs
public void close()
throws java.io.IOException
java.io.IOException - If an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||