org.autoplot.AutoplotDataServer
Data server for U. Iowa P.W. Group converts URIs into streams of data. These would typically
be qstream or older das2stream format, but the code (apparently) supports .xls, .dat, and .bin as well.
See also AutoplotServer, which serves images.
AutoplotDataServer( )
doService
doService( String timeRange, String suri, String step, boolean stream, String format, java.io.PrintStream out, boolean ascii, java.util.Set outEmpty, ProgressMonitor mon ) → void
Perform the data service.
Parameters
timeRange - the time range to send out, such as "May 2003", or "" for none, or null for none.
suri - the data source to read in. If this has TimeSeriesBrowse, then we can stream the data.
step - step size, such as "24 hr" or "3600s". If the URI contains $H, "3600s" is used.
stream - if true, send data out as it is read.
format - FORM_QDS, FORM_D2S, FORM_HAPI
out - stream which receives the data.
ascii - if true, use ascii types for qstreams and das2streams.
outEmpty - for the streaming library, so we don't put progress out until we've output the initial header.
mon - progress monitor to monitor the stream.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
main
main( String[] args ) → void
Parameters
args - a java.lang.String[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]