public class QdsToDas22 extends QdsToD2sStream
QdsToD2sStream.PacketXferInfo, QdsToD2sStream.QdsXferInfo, QdsToD2sStream.Sequence1D
bBinary, DEFAUT_FRAC_SEC, DEFAUT_SIG_DIGIT, FIXED_PKT_TAGS, FORMAT_2_2, FORMAT_2_3_BASIC, FORMAT_2_4_GENERAL, formats, nSecDigit, nSigDigit, VAR_PKT_TAGS
Constructor and Description |
---|
QdsToDas22() |
QdsToDas22(int genSigDigits,
int fracSecDigits) |
Modifier and Type | Method and Description |
---|---|
boolean |
canWrite(QDataSet qds)
Determine if a given dataset be serialized as a das2.2 stream
|
boolean |
write(QDataSet qds,
java.io.OutputStream os)
Write a QDataSet as a das2.2 stream
To test whether it looks like this code could stream a dataset use the
canWrite() function.
|
_stripDotProps, copySimpleProps, getQdsAxis, getSequenceRank1, makeNameFromUnits, newXmlDoc, writeData
public QdsToDas22()
public QdsToDas22(int genSigDigits, int fracSecDigits)
public boolean canWrite(QDataSet qds)
canWrite
in class QdsToD2sStream
qds
- The dataset to writepublic boolean write(QDataSet qds, java.io.OutputStream os) throws java.io.IOException
write
in class QdsToD2sStream
qds
- The dataset to write, may have join's bundles etc. but no
rank 3 or higher component datasets.os
- an open output stream, which is not closed by this code.java.io.IOException