Doc
  • Get Started
  • Academy
  • Library
  • Languages iconEnglish
    • Português

›Resources

Libraries

  • Overview
  • Introduction

Resources & Objects

    Resources

    • App
    • Auth
    • Component
    • Config
    • Convert
    • CORS
    • Cron
    • Crypto
    • CSV
    • DB
    • Env
    • Error
    • Exec
    • Firebase
    • Form
    • Group
    • Header
    • HTML
    • Jasper
    • Jwt
    • Lang
    • Log
    • Monitor
    • OS
    • Out
    • PDF
    • RabbitMQ
    • Random
    • Remote
    • Form
    • Req
    • Res
    • Server
    • Setup
    • SMTP
    • Storage
    • Template
    • Time
    • Uid
    • Url
    • User
    • Val
    • WebSocket
    • XLS
    • XML

    Objects

    • Async
    • CheckExists
    • Column
    • DataItem
    • DataSchema
    • DBBatch
    • DBSearchResult
    • File
    • Index
    • InputStream
    • OSCommand
    • OutputStream
    • RandomString
    • RemoteResponse
    • Sequence
    • Service
    • SMTPConfig
    • Table
    • Values
    • XLSPosition

App Folders

  • Application folder structure
  • Config
  • DB
  • Public
  • Server
  • Storage
  • UI

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
NAMETYPEDESCRIPTION
formatNamestringName 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
NAMETYPEDESCRIPTION
storageReaderPath 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
NAMETYPEDESCRIPTION
readerReaderData stream that will be processed.
formatCSVFormatName of the format to be used.
Return

( CSVParser )

The parser initialized.


_csv.parser(content: string, format: CSVFormat) : CSVParser

Description

Gets the CSV parser.

Attributes
NAMETYPEDESCRIPTION
contentstringText content that must be processed.
formatCSVFormatName of the format to be used.
Return

( CSVParser )

The parser initialized.


_csv.parser(storage: Storage) : CSVParser

Description

Gets the CSV parser.

Attributes
NAMETYPEDESCRIPTION
storageStoragePath 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
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

( CSVParser )

The parser initialized.


_csv.parser(storage: Storage, charset: string, format: CSVFormat) : 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
formatCSVFormatName of the format to be used.
Return

( CSVParser )

The parser initialized.


_csv.parser(storage: Storage, charset: CSVFormat) : CSVParser

Description

Gets the CSV parser.

Attributes
NAMETYPEDESCRIPTION
storageStoragePath of the file in storage that is to be processed.
charsetCSVFormatCharacter 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
NAMETYPEDESCRIPTION
arg0Storage
arg1CSVFormat
arg2long
arg3long
Return

( CSVParser )


printer


_csv.printer(arg0: Storage, arg1: CSVFormat) : CSVPrinter

Attributes
NAMETYPEDESCRIPTION
arg0Storage
arg1CSVFormat
Return

( CSVPrinter )


← CryptoDB →
  • format
  • parser
  • printer

Open Source

Download

admin@netuno.org

support@netuno.org

Copyright © Sitana 2022