Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
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.
|
public IniReader ( TextReader reader ) : System | ||
reader | TextReader | |
return | System |
public IniReader ( string filePath ) : System | ||
filePath | string | |
return | System |
public SetAssignDelimiters ( char delimiters ) : void | ||
delimiters | char | |
return | void |
public SetCommentDelimiters ( char delimiters ) : void | ||
delimiters | char | |
return | void |