C# Класс 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.
Наследование: IParser
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Dispose() публичный Метод

Disposes of the textReader member.
public Dispose ( ) : void
Результат void

NextRow() публичный Метод

Returns the next row of data, and advances the CurrentRow.
public NextRow ( ) : IList
Результат IList

Open() публичный Метод

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.
Результат void