comp • gb.util • csvfile

CsvFile (gb.util)

This class allows to:

  • Read and automatically decode a CSV file.

  • Since 3.15
    Create a CSV File.

It is assumed that the first line of the CSV file are always the field names.

This class is
Open a CSV file for reading.
creatable
.

Static methods

Create a new CSV file, and return a CsvFile object for manipulating it.
Create  
Open a CSV file for reading, and return a CsvFile object for manipulating it.
Open  

Properties

Methods
Return if the end of file has been reached.
Eof  
Return or set the list of fields as a string array.
Fields  
Return the number of the last line that has been read or written.
Line  
Close the CSV file.
Close  
Read a new line, and return it as a collection of field values indexed by their field names.
Read  
Write a new line into the CSV file.
Write