org.das2.qds.util.OdlParser

Tool for parsing ODL found at the top of .sts files.


readOdl

readOdl( java.io.BufferedReader r ) → String

read the ODL off the top of the file, returning the ODL in a string and leaving the InputStream pointed at the line following the ODL.

Parameters

r - reader for the file which starts with ODL. The reader will be left pointing at the first non-ODL line.

Returns:

the ODL header.

search for examples view on GitHub view source