C# 클래스 NSoft.NFramework.Nini.Ini.IniReader

상속: IDisposable
파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
Dispose ( ) : void
GetAssignDelimiters ( ) : char[]
GetCommentDelimiters ( ) : char[]
IniReader ( Stream stream ) : System
IniReader ( TextReader reader ) : System
IniReader ( string filePath ) : System
MoveToNextKey ( ) : bool
MoveToNextSection ( ) : bool
Read ( ) : bool
SetAssignDelimiters ( char delimiters ) : void
SetCommentDelimiters ( char delimiters ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
ConsumeToEnd ( ) : void

Consumes all data until the end of a line.

EndOfLine ( int ch ) : bool

Returns true if an end of line is found. End of line includes both an end of line or end of file.

HasCharacter ( char characters, int ch ) : bool

Returns true if the character is found in the given array.

IsAssign ( int ch ) : bool

Returns true if character is an assign character.

IsComment ( int ch ) : bool

Returns true if a comment character is found.

IsWhitespace ( int ch ) : bool

Returns true if a value is whitespace.

PeekChar ( ) : int

Returns the next upcoming character from the stream.

ReadChar ( ) : int

Returns and consumes the next character from the stream.

ReadComment ( ) : void

Reads a comment. Must start after the comment delimiter.

ReadKey ( ) : void

Reads a key.

ReadKeyValue ( ) : void

Reads the value of a key.

ReadNext ( ) : bool

Reads the next INI line item.

ReadSection ( ) : void

Reads an INI section.

RemoveTrailingWhitespace ( StringBuilder builder ) : void

Removes trailing whitespace from a StringBuilder.

Reset ( ) : void

Resets all of the current INI line data.

SearchForComment ( ) : void

Looks for a comment.

SkipWhitespace ( ) : void

Skips all whitespace.

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetAssignDelimiters() 공개 메소드

public GetAssignDelimiters ( ) : char[]
리턴 char[]

GetCommentDelimiters() 공개 메소드

public GetCommentDelimiters ( ) : char[]
리턴 char[]

IniReader() 공개 메소드

public IniReader ( Stream stream ) : System
stream Stream
리턴 System

IniReader() 공개 메소드

public IniReader ( TextReader reader ) : System
reader TextReader
리턴 System

IniReader() 공개 메소드

public IniReader ( string filePath ) : System
filePath string
리턴 System

MoveToNextKey() 공개 메소드

public MoveToNextKey ( ) : bool
리턴 bool

MoveToNextSection() 공개 메소드

public MoveToNextSection ( ) : bool
리턴 bool

Read() 공개 메소드

public Read ( ) : bool
리턴 bool

SetAssignDelimiters() 공개 메소드

public SetAssignDelimiters ( char delimiters ) : void
delimiters char
리턴 void

SetCommentDelimiters() 공개 메소드

public SetCommentDelimiters ( char delimiters ) : void
delimiters char
리턴 void