| Qore CsvUtil Module Reference 1.7.2

Classes | Functions | Variables
CsvUtil Namespace Reference

the CsvUtil namespace. All classes used in the CsvUtil module should be inside this namespace More...

## Classes
class | AbstractCsvIterator
| the AbstractCsvIterator class is an abstract base class that allows abstract CSV data to be iterated More...
class | AbstractCsvWriter
| The AbstractCsvWriter class provides a parent for all CSV writers. More...
class | CsvDataIterator
| The CsvDataIterator class allows arbitrary CSV string data to be iterated on a record basis. More...
class | CsvFileIterator
| The CsvFileIterator class allows CSV files to be iterated on a record basis. More...
class | CsvFileWriter
| The CsvFileWriter class for safe CSV file creation. More...
class | CsvIterator
| The CsvIterator class allows CSV sources to be iterated on a record basis. The source of the input data is either a AbstractLineIterator object or an InputStream object. More...
class | CsvReadDataProvider
| Provides a data provider for reading CSV files. More...
class | CsvReadDataProviderFactory
| The read-only CSV data provider factory. More...
class | CsvStringWriter
| The CsvStringWriter class for in-memory string CSV creation. More...
class | CsvWriteDataProvider
| Provides a data provider for reading CSV files. More...
class | CsvWriteDataProviderFactory
| The read-only CSV data provider factory. More...
class | CsvWriter
| The CsvWriter class for safe CSV data creation. More...

## Functions
| csvutil_set_global_compat_force_empty_string (softbool val)
| sets the `global_compat_force_empty_string` variable to force "*string" fields with no value to return an empty string when parsing rather than NOTHING for backwards compatibility with very early versions of CsvUtil

## Variables
const | CSV_TYPE_SINGLE = "<single>"
| Record type when multi-type is disabled.
const | CSV_TYPE_UNKNOWN = "<unknown>"
| Record type when non matching any type.
const | EOL_MACINTOSH = "\r"
| Old (pre-OSX) Macintosh end of line character sequence.
const | EOL_UNIX = "\n"
| Unix end of line character sequence (for new OS X too)
const | EOL_WIN = "\r\n"
| MS DOS/Windows end of line character sequence.
bool | global_compat_force_empty_string
| global option to force "*string" fields with no value to return an empty string when parsing rather than NOTHING for backwards compatibility with very early versions of CsvUtil

## Detailed Description

the CsvUtil namespace. All classes used in the CsvUtil module should be inside this namespace

Qore CsvWriteDataProviderFactory class definition.

the CsvUtil namespace contains all the objects in the CsvUtil module

Qore CsvReadDataProviderFactory class definition.

CsvReadDataProviderFactory.qc Copyright 2019 - 2020 Qore Technologies, s.r.o.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.strict argument handling Contains all public definitions in the CsvUtil module

CsvWriteDataProviderFactory.qc Copyright 2019 Qore Technologies, s.r.o.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.strict argument handling Contains all public definitions in the CsvUtil module