C# Class DataMigration.ParameterizedDelimiterParser

ParameterizedDelimiterParser takes some sort of character property from the DataSourcePlan, and uses that to parse the file. Thus a crude CSV parser (putting aside complications inherent in csv) would specify a comma, where a tab-delimited-text parser specifies a tab.
Inheritance: IParser
ファイルを表示 Open project: scoutmedia/DataMigration

Public Methods

Method Description
Dispose ( ) : void

Disposes of the textReader member.

NextRow ( ) : IList

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

Open ( string filePath ) : void

Open the file the specified Path. The caller is responsible for calling Dispose once Open() has been called. This implementation will use the delimiter as described in the Plan.

Method Details

Dispose() public method

Disposes of the textReader member.
public Dispose ( ) : void
return void

NextRow() public method

Returns the next row of data, and advances the CurrentRow.
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. This implementation will use the delimiter as described in the Plan.
public Open ( string filePath ) : void
filePath string File path.
return void