Skip to main content

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
NAMETYPEDESCRIPTION
formatNamestringName 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
NAMETYPEDESCRIPTION
readerjava.io.ReaderData 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
NAMETYPEDESCRIPTION
readerjava.io.ReaderData stream that will be processed.
formatorg.apache.commons.csv.CSVFormatName 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
NAMETYPEDESCRIPTION
contentstringText content that must be processed.
formatorg.apache.commons.csv.CSVFormatName 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
NAMETYPEDESCRIPTION
storageStoragePath 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
NAMETYPEDESCRIPTION
storageStoragePath of the file in storage that is to be processed.
charsetstringCharacter 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
NAMETYPEDESCRIPTION
storageStoragePath of the file in storage that is to be processed.
charsetstringCharacter encoding type code such as:
- US-ASCII
- ISO-8859-1
- UTF-8
- UTF-16BE
- UTF-16LE
- UTF-16
formatorg.apache.commons.csv.CSVFormatName 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
NAMETYPEDESCRIPTION
readerStorageData stream that will be processed.
formatorg.apache.commons.csv.CSVFormatName 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
NAMETYPEDESCRIPTION
storageStorage
formatorg.apache.commons.csv.CSVFormat
characterOffsetlong
recordNumberlong
Return

( org.apache.commons.csv.CSVParser )


printer


_csv.printer(writer: java.io.Writer) : org.apache.commons.csv.CSVPrinter

Description

Gets the CSV printer.

Attributes
NAMETYPEDESCRIPTION
writerjava.io.WriterWriter 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
NAMETYPEDESCRIPTION
writerjava.io.WriterWriter for the CSV file.
formatorg.apache.commons.csv.CSVFormatName 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
NAMETYPEDESCRIPTION
writerStorageWriter 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
NAMETYPEDESCRIPTION
writerStorageWriter for the CSV file.
formatorg.apache.commons.csv.CSVFormatName of the format to be used.
Return

( org.apache.commons.csv.CSVPrinter )

The printer initialized.