|
Qore CsvUtil Module Reference
1.2
|
the CsvFileWriter class for easy and safe CSV file creation More...

Public Member Functions | |
| constructor (string path, *hash opts) | |
| creates the CsvFileWriter with the path of the file to read with an options More... | |
| private | writeRawLine (list values) |
| real write implementation. Without any checking. | |
Additional Inherited Members | |
Private Member Functions inherited from CsvUtil::AbstractCsvWriter | |
| constructor (string errname, *hash opts) | |
| creates the AbstractCsvWriter More... | |
| private string | dateFormat (int ix) |
| format date to string by options. Priority: 1) column definition 2) standard format | |
| private string | prepareRawLine (list values) |
| Prepare a string (line with EOF) with formatting and escaping. More... | |
| write (AbstractIterator iterator) | |
| stream iterator into the file. More... | |
| writeLine (list values) | |
| write a line with list of values. Data are checked against column rules. More... | |
| writeLine (hash values) | |
| write a line with headers-values hash More... | |
the CsvFileWriter class for easy and safe CSV file creation
creates the CsvFileWriter with the path of the file to read with an options
| path | a file name (with path optionally) to write |
| opts | AbstractCsvWriter Constructor Option Hash Overview |
The file is created with O_CREAT, O_TRUNC, O_WRONLY and 0644 access.
| CSVFILEITER-ERROR | in the case of incorrect options |