CSV
Processes CSV type files.
format
_csv.format(formatName: string) : CSVFormat
Description
Gets the CSV formatter, supports:
- default
- excel
- informix-unload
- informix-unload-csv
- mysql
- oracle
- postgresql-csv
- postgresql-text
- rfc4180
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
formatName | string | Name of the format to be used. |
Return
( CSVFormat )
The type of format to be used.
parser
_csv.parser(storage: Reader) : CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Reader | Path of the file in storage that is to be processed. |
Return
( CSVParser )
The parser initialized.
_csv.parser(reader: Reader, format: CSVFormat) : CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
reader | Reader | Data stream that will be processed. |
format | CSVFormat | Name of the format to be used. |
Return
( CSVParser )
The parser initialized.
_csv.parser(content: string, format: CSVFormat) : CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string | Text content that must be processed. |
format | CSVFormat | Name of the format to be used. |
Return
( CSVParser )
The parser initialized.
_csv.parser(storage: Storage) : CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Path of the file in storage that is to be processed. |
Return
( CSVParser )
The parser initialized.
_csv.parser(storage: Storage, charset: string) : CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Path of the file in storage that is to be processed. |
charset | string | Character encoding type code such as: |
- US-ASCII | ||
- ISO-8859-1 | ||
- UTF-8 | ||
- UTF-16BE | ||
- UTF-16LE | ||
- UTF-16 |
Return
( CSVParser )
The parser initialized.
_csv.parser(storage: Storage, charset: string, format: CSVFormat) : CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Path of the file in storage that is to be processed. |
charset | string | Character encoding type code such as: |
- US-ASCII | ||
- ISO-8859-1 | ||
- UTF-8 | ||
- UTF-16BE | ||
- UTF-16LE | ||
- UTF-16 | ||
format | CSVFormat | Name of the format to be used. |
Return
( CSVParser )
The parser initialized.
_csv.parser(storage: Storage, charset: CSVFormat) : CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Path of the file in storage that is to be processed. |
charset | CSVFormat | Character encoding type code such as: |
- US-ASCII | ||
- ISO-8859-1 | ||
- UTF-8 | ||
- UTF-16BE | ||
- UTF-16LE | ||
- UTF-16 |
Return
( CSVParser )
The parser initialized.
_csv.parser(arg0: Storage, arg1: CSVFormat, arg2: long, arg3: long) : CSVParser
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Storage | |
arg1 | CSVFormat | |
arg2 | long | |
arg3 | long |
Return
( CSVParser )
printer
_csv.printer(arg0: Storage, arg1: CSVFormat) : CSVPrinter
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Storage | |
arg1 | CSVFormat |
Return
( CSVPrinter )