CSV
Processes CSV type files. This feature uses the Apache Commons CSV library.
format
_csv.format(formatName: string) : org.apache.commons.csv.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
( org.apache.commons.csv.CSVFormat )
The type of format to be used.
parser
_csv.parser(reader: java.io.Reader) : org.apache.commons.csv.CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
reader | java.io.Reader | Data stream that will be processed. |
Return
( org.apache.commons.csv.CSVParser )
The parser initialized.
_csv.parser(reader: java.io.Reader, format: org.apache.commons.csv.CSVFormat) : org.apache.commons.csv.CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
reader | java.io.Reader | Data stream that will be processed. |
format | org.apache.commons.csv.CSVFormat | Name of the format to be used. |
Return
( org.apache.commons.csv.CSVParser )
The parser initialized.
_csv.parser(content: string, format: org.apache.commons.csv.CSVFormat) : org.apache.commons.csv.CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string | Text content that must be processed. |
format | org.apache.commons.csv.CSVFormat | Name of the format to be used. |
Return
( org.apache.commons.csv.CSVParser )
The parser initialized.
_csv.parser(storage: Storage) : org.apache.commons.csv.CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Path of the file in storage that is to be processed. |
Return
( org.apache.commons.csv.CSVParser )
The parser initialized.
_csv.parser(storage: Storage, charset: string) : org.apache.commons.csv.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
( org.apache.commons.csv.CSVParser )
The parser initialized.
_csv.parser(storage: Storage, charset: string, format: org.apache.commons.csv.CSVFormat) : org.apache.commons.csv.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 | org.apache.commons.csv.CSVFormat | Name of the format to be used. |
Return
( org.apache.commons.csv.CSVParser )
The parser initialized.
_csv.parser(reader: Storage, format: org.apache.commons.csv.CSVFormat) : org.apache.commons.csv.CSVParser
Description
Gets the CSV parser.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
reader | Storage | Data stream that will be processed. |
format | org.apache.commons.csv.CSVFormat | Name of the format to be used. |
Return
( org.apache.commons.csv.CSVParser )
The parser initialized.
_csv.parser(storage: Storage, format: org.apache.commons.csv.CSVFormat, characterOffset: long, recordNumber: long) : org.apache.commons.csv.CSVParser
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | |
format | org.apache.commons.csv.CSVFormat | |
characterOffset | long | |
recordNumber | long |
Return
( org.apache.commons.csv.CSVParser )
printer
_csv.printer(writer: java.io.Writer) : org.apache.commons.csv.CSVPrinter
Description
Gets the CSV printer.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
writer | java.io.Writer | Writer for the CSV file. |
Return
( org.apache.commons.csv.CSVPrinter )
The printer initialized.
_csv.printer(writer: java.io.Writer, format: org.apache.commons.csv.CSVFormat) : org.apache.commons.csv.CSVPrinter
Description
Gets the CSV printer.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
writer | java.io.Writer | Writer for the CSV file. |
format | org.apache.commons.csv.CSVFormat | Name of the format to be used. |
Return
( org.apache.commons.csv.CSVPrinter )
The printer initialized.
_csv.printer(writer: Storage) : org.apache.commons.csv.CSVPrinter
Description
Gets the CSV printer.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
writer | Storage | Writer for the CSV file. |
Return
( org.apache.commons.csv.CSVPrinter )
The printer initialized.
_csv.printer(writer: Storage, format: org.apache.commons.csv.CSVFormat) : org.apache.commons.csv.CSVPrinter
Description
Gets the CSV printer.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
writer | Storage | Writer for the CSV file. |
format | org.apache.commons.csv.CSVFormat | Name of the format to be used. |
Return
( org.apache.commons.csv.CSVPrinter )
The printer initialized.