public class BinaryStreamDriver extends AbstractDriver
Reader
for input or a Writer
for output.Constructor and Description |
---|
BinaryStreamDriver() |
Modifier and Type | Method and Description |
---|---|
HierarchicalStreamReader |
createReader(java.io.InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
createReader(java.io.Reader in)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamWriter |
createWriter(java.io.OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
createWriter(java.io.Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
createReader, createReader, getNameCoder
public HierarchicalStreamReader createReader(java.io.Reader in)
HierarchicalStreamDriver
in
- the Reader
with the data to parsejava.lang.UnsupportedOperationException
- if calledpublic HierarchicalStreamReader createReader(java.io.InputStream in)
HierarchicalStreamDriver
in
- the InputStream
with the data to parsepublic HierarchicalStreamWriter createWriter(java.io.Writer out)
HierarchicalStreamDriver
out
- the Writer
to receive the formatted datajava.lang.UnsupportedOperationException
- if calledpublic HierarchicalStreamWriter createWriter(java.io.OutputStream out)
HierarchicalStreamDriver
out
- the OutputStream
to receive the formatted dataCopyright © 2004–2024 XStream. All rights reserved.