C# Класс Summer.Batch.Infrastructure.Item.File.Transform.DelimitedLineTokenizer

Implementation of ILineTokenizer that splits the input string using a configurable delimiter. A column can be surrounded by a configurable quote character to include the delimiter.
Наследование: Summer.Batch.Infrastructure.Item.File.Transform.AbstractLineTokenizer
Показать файл Открыть проект

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

Метод Описание
DelimitedLineTokenizer ( ) : System.Collections.Generic

Default constructor.

Защищенные методы

Метод Описание
DoTokenize ( string line ) : IList

Method that does the actual tokenizing.

Приватные методы

Метод Описание
IsDelimiter ( char chars, int i, int endIndexLastDelimiter ) : bool

Checks if the delimiter string has been encountered.

RetrieveToken ( char chars, int start, int end ) : string

Retrieves a token from a character array.

SearchQuote ( IReadOnlyList chars, int &start, int &end ) : bool

Search quote in given range.

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

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

Default constructor.
public DelimitedLineTokenizer ( ) : System.Collections.Generic
Результат System.Collections.Generic

DoTokenize() защищенный Метод

Method that does the actual tokenizing.
protected DoTokenize ( string line ) : IList
line string the line to tokenize
Результат IList