C# 클래스 gnu.inet.encoding.misc.Tokenizer

The class performs token processing in strings
상속: IEnumerator
파일 보기 프로젝트 열기: pexip/os-libidn 1 사용 예제들

공개 메소드들

메소드 설명
HasMoreTokens ( ) : bool

Determines if there are more tokens to return from the source string

MoveNext ( ) : bool

Performs the same action as HasMoreTokens.

NextToken ( ) : string

Returns the next token from the token list

NextToken ( string delimiters ) : string

Returns the next token from the source string, using the provided token delimiters

Reset ( ) : void

Does nothing.

Tokenizer ( string source ) : System

Initializes a new class instance with a specified string to process

Tokenizer ( string source, string delimiters ) : System

Initializes a new class instance with a specified string to process and the specified token delimiters to use

Tokenizer ( string source, string delimiters, bool includeDelims ) : System

Initializes a new class instance with a specified string to process, the specified token delimiters to use, and whether the delimiters must be included in the results.

비공개 메소드들

메소드 설명
nextToken ( char delimiters ) : string

메소드 상세

HasMoreTokens() 공개 메소드

Determines if there are more tokens to return from the source string
public HasMoreTokens ( ) : bool
리턴 bool

MoveNext() 공개 메소드

Performs the same action as HasMoreTokens.
public MoveNext ( ) : bool
리턴 bool

NextToken() 공개 메소드

Returns the next token from the token list
public NextToken ( ) : string
리턴 string

NextToken() 공개 메소드

Returns the next token from the source string, using the provided token delimiters
public NextToken ( string delimiters ) : string
delimiters string String containing the delimiters to use
리턴 string

Reset() 공개 메소드

Does nothing.
public Reset ( ) : void
리턴 void

Tokenizer() 공개 메소드

Initializes a new class instance with a specified string to process
public Tokenizer ( string source ) : System
source string String to tokenize
리턴 System

Tokenizer() 공개 메소드

Initializes a new class instance with a specified string to process and the specified token delimiters to use
public Tokenizer ( string source, string delimiters ) : System
source string String to tokenize
delimiters string String containing the delimiters
리턴 System

Tokenizer() 공개 메소드

Initializes a new class instance with a specified string to process, the specified token delimiters to use, and whether the delimiters must be included in the results.
public Tokenizer ( string source, string delimiters, bool includeDelims ) : System
source string String to tokenize
delimiters string String containing the delimiters
includeDelims bool Determines if delimiters are included in the results.
리턴 System