org.autoplot.hapiserver.CsvDataFormatter

Comma Separated Value (CSV) formatter

CsvDataFormatter( )

finalize( java.io.OutputStream out ) → void [view source]
initialize( JSONObject info, java.io.OutputStream out, QDataSet record ) → void [view source]
initializeReader( JSONObject info, String record ) → QDataSet [view source]
main( String[] args ) → void [view source]

readRecord

readRecord( String record, QDataSet recordInfo ) → QDataSet

read a record which has been formatted by this.

Parameters

record - the formatted record.
recordInfo - example record which provides the units for parsing.

Returns:

the parsed record.

[search for examples] [view on GitHub] [view on old javadoc]

sendRecord( java.io.OutputStream out, QDataSet record ) → void [view source]