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(InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
createReader(Reader in)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamWriter |
createWriter(OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
createWriter(Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
createReader, createReader, getNameCoder
public HierarchicalStreamReader createReader(Reader in)
HierarchicalStreamDriver
in
- the Reader
with the data to parseUnsupportedOperationException
- if calledpublic HierarchicalStreamReader createReader(InputStream in)
HierarchicalStreamDriver
in
- the InputStream
with the data to parsepublic HierarchicalStreamWriter createWriter(Writer out)
HierarchicalStreamDriver
out
- the Writer
to receive the formatted dataUnsupportedOperationException
- if calledpublic HierarchicalStreamWriter createWriter(OutputStream out)
HierarchicalStreamDriver
out
- the OutputStream
to receive the formatted dataCopyright © 2004–2017 XStream. All rights reserved.