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
파일 보기 프로젝트 열기: SummerBatch/SummerBatch

공개 메소드들

메소드 설명
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