public class SimpleStreamFormatter
extends java.lang.Object
Constructor and Description |
---|
SimpleStreamFormatter() |
Modifier and Type | Method and Description |
---|---|
void |
format(QDataSet ds,
java.io.OutputStream osout,
boolean asciiTypes)
serialize the dataset to the output stream.
|
static void |
main(java.lang.String[] args) |
public void format(QDataSet ds, java.io.OutputStream osout, boolean asciiTypes) throws StreamException, java.io.IOException
ds
- the dataset to serialize.osout
- the output stream, which will not be closed here.asciiTypes
- use ascii format types so that the stream is completely ascii.StreamException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.IOException, StreamException
java.io.FileNotFoundException
java.io.IOException
StreamException