Represents an INI data parser for files. [詳解]
公開メンバ関数 | |
FileIniDataParser () | |
Ctor [詳解] | |
FileIniDataParser (IniDataParser parser) | |
Ctor [詳解] | |
IniData | LoadFile (string filePath) |
IniData | LoadFile (string filePath, Encoding fileEncoding) |
IniData | ReadFile (string filePath) |
Implements reading ini data from a file. [詳解] | |
IniData | ReadFile (string filePath, Encoding fileEncoding) |
Implements reading ini data from a file. [詳解] | |
void | SaveFile (string filePath, IniData parsedData) |
Saves INI data to a file. [詳解] | |
void | WriteFile (string filePath, IniData parsedData, Encoding fileEncoding=null) |
Writes INI data to a text file. [詳解] | |
基底クラス IniParser.StreamIniDataParser に属する継承公開メンバ関数 | |
StreamIniDataParser () | |
Ctor [詳解] | |
StreamIniDataParser (IniDataParser parser) | |
Ctor [詳解] | |
IniData | ReadData (StreamReader reader) |
Reads data in INI format from a stream. [詳解] | |
void | WriteData (StreamWriter writer, IniData iniData) |
Writes the ini data to a stream. [詳解] | |
void | WriteData (StreamWriter writer, IniData iniData, IIniDataFormatter formatter) |
Writes the ini data to a stream. [詳解] | |
その他の継承メンバ | |
基底クラス IniParser.StreamIniDataParser に属する継承プロパティ | |
IniDataParser | Parser [get, set] |
This instance will handle ini data parsing and writing [詳解] | |
Represents an INI data parser for files.
IniParser.FileIniDataParser.FileIniDataParser | ( | ) |
Ctor
IniParser.FileIniDataParser.FileIniDataParser | ( | IniDataParser | parser | ) |
Ctor
parser |
IniData IniParser.FileIniDataParser.LoadFile | ( | string | filePath | ) |
IniData IniParser.FileIniDataParser.LoadFile | ( | string | filePath, |
Encoding | fileEncoding | ||
) |
IniData IniParser.FileIniDataParser.ReadFile | ( | string | filePath | ) |
Implements reading ini data from a file.
Uses Encoding.Default codification for the file.
filePath | Path to the file |
IniData IniParser.FileIniDataParser.ReadFile | ( | string | filePath, |
Encoding | fileEncoding | ||
) |
Implements reading ini data from a file.
filePath | Path to the file |
fileEncoding | File's encoding. |
void IniParser.FileIniDataParser.SaveFile | ( | string | filePath, |
IniData | parsedData | ||
) |
Saves INI data to a file.
Creats an ASCII encoded file by default.
filePath | Path to the file. |
parsedData | IniData to be saved as an INI file. |
void IniParser.FileIniDataParser.WriteFile | ( | string | filePath, |
IniData | parsedData, | ||
Encoding | fileEncoding = null |
||
) |
Writes INI data to a text file.
filePath | Path to the file. |
parsedData | IniData to be saved as an INI file. |
fileEncoding | Specifies the encoding used to create the file. |