public class BundleStreamFormatter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FORMAT_PATTERN |
static java.lang.String |
HEX_FORMAT_PATTERN |
Constructor and Description |
---|
BundleStreamFormatter() |
Modifier and Type | Method and Description |
---|---|
void |
format(QDataSet ds,
java.io.OutputStream osout,
boolean asciiTypes)
format the rank 2 bundle.
|
static TransferType |
guessAsciiTransferType(QDataSet ds)
guess an ASCII transfer type which can accurately and efficiently
represent the data in the dataset.
|
public static final java.lang.String FORMAT_PATTERN
public static final java.lang.String HEX_FORMAT_PATTERN
public static TransferType guessAsciiTransferType(QDataSet ds)
ds
- the datasetpublic void format(QDataSet ds, java.io.OutputStream osout, boolean asciiTypes) throws StreamException, java.io.IOException
ds
- rank 2 bundle dataset.osout
- asciiTypes
- true if ascii types should be used.StreamException
java.io.IOException