CsvFileInputRecordStream and CsvFileOutputRecordStream

CsvFileInputRecordStream and CsvFileOutputRecordStream provide functionality relevant to working with comma separated values files. For example, their methods allow you to open and close the files, specify the separator character, and search for tags that indicate the beginning of the table. In addition, they also provide simple methods for reading or writing text without processing it as comma separated values:

  • CsvFileInputRecordStream.ReadLine() — Reads one line of text to a string
  • CsvFileOutputRecordStream.WriteLine() — Writes one line of text from a string

While the higher-level methods InputRecordStream.ReadRecord() and OutputRecordStream.WriteRecord() operate purely on records, ReadLine() and WriteLine()exploit the fact that a CSV file is actually a text file, allowing for less structured input and output.