NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import CsvParser from 'ngl/src/parser/csv-parser.js'
public class | source

CsvParser

Extends:

Parser → CsvParser

CSV parser

Constructor Summary

Public Constructor
public

constructor(streamer: Streamer, params: Object)

[constructor description]

Member Summary

Public Members
public
public
public
public
public get
Private Members
private get

Method Summary

Private Methods
private

_parse()

Inherited Summary

From class Parser
public get
public get
public get
public get
private get
public
public
public
public

parse()

private
private
private

_parse()

Public Constructors

public constructor(streamer: Streamer, params: Object) source

[constructor description]

Override:

Parser#constructor

Params:

NameTypeAttributeDescription
streamer Streamer

the streamer object

params Object

parameter object

params.delimiter Char

delimiter character

params.comment Char

comment character

params.columnNames Boolean

use first data line as column names

Public Members

public columnNames source

public comment source

public delimiter source

public table source

public get type source

Override:

Parser#type

Private Members

private get __objName source

Override:

Parser#__objName

Private Methods

private _parse() source

Override:

Parser#_parse