Configurable class for serializing a DataSet into a das2Stream. This class handles both VectorDataSets and TableDataSets, and uses java beans properties to control how the stream is produced. This code subsumes the functionality of TableUtil.dumpToDas2Stream and VectorUtil.dumpToDas2Stream.
Creates a new instance of DataSetStreamProducer
Getter for property dataSet.
Getter for property asciiTransferTypes.
Getter for property compressed.
If true, use ascii-type transfer types when creating the stream, so the stream is more easily read by humans and stream-naive parsers.
If true, create a compressed stream.
Setter for property dataSet.
convenient method for writing to an OutputStream. Simply uses Channels.newChannel to create a WritableByteChannel.