CsvFile (gb.util)

Ler e decodifica automaticamente um arquivo CSV.

This class is creatable.

Static methods
Create   Create a CSV file for writing and return it as a CsvFile object.
Open   Open a CSV file for reading and return it as a CsvFile object.
Quote  
Since 3.15
Quote a string value for a CSV file.

Properties
Charset  
Since 3.17
Return or set the CSV file charset.
Columns   Return the name of the columns
Eof   Return if the end of file has been reached.
Escape  
Since 3.17
Return or set the CSV file escape character.
Fields   Return the name of the columns
KeepNames  
Since 3.17
Return or set if field names are kept unchanged or not.
Line   Return the current line
NoDiacritics  
Since 3.17
Return or set if field names diacritics are kept or not.
Separator  
Since 3.17
Return or set the CSV file separator

Methods
Close  
Read   Read a row from the CSV file.
Write   Write a new row of columns in the CSV file.