C# Class DataMigration.CsvParser

Csv parser. Wraps the LumenWorks.Framework.IO Csv reader, published at http://www.codeproject.com/Articles/9258/A-Fast-CSV-Reader.
Inheritance: IParser
ファイルを表示 Open project: scoutmedia/DataMigration

Protected Properties

Property Type Description
delimiter char

Public Methods

Method Description
Dispose ( ) : void

Releases all resources used by the underlying csvReader object.

NextRow ( ) : IList

Returns the next row of data, and advances the CurrentRow counter.

Open ( string filePath ) : void

Open the file the specified Path. The caller is responsible for calling Dispose once Open() has been called.

Protected Methods

Method Description
GetDelimiter ( ) : void

Looks in Properties collection for specified delimiter.

Method Details

Dispose() public method

Releases all resources used by the underlying csvReader object.
public Dispose ( ) : void
return void

GetDelimiter() protected method

Looks in Properties collection for specified delimiter.
protected GetDelimiter ( ) : void
return void

NextRow() public method

Returns the next row of data, and advances the CurrentRow counter.
public NextRow ( ) : IList
return IList

Open() public method

Open the file the specified Path. The caller is responsible for calling Dispose once Open() has been called.
public Open ( string filePath ) : void
filePath string File path.
return void

Property Details

delimiter protected_oe property

protected char delimiter
return char