HeadingsCSV.parse

Parses CSV data from the provided stream. Parsing ends when an EOF is encountered. As rows are extracted and parsed, they are passed to the provided delegate.

Note that if a row is read which has more fields than there are headings (i.e. fields in the first row of the CSV stream), then its name is set to "unknown".

  1. void parse(InputStream stream, RowDg row_dg)
    class HeadingsCSV
    void
    parse
  2. void parse(InputStream stream, cstring[] include_headings, RowDg row_dg)

Parameters

stream InputStream

stream to read CSV data from

row_dg RowDg

delegate to receive parsed rows

Meta