C# 클래스 Fusion.Core.IniParser.FileIniDataParser

Represents an INI data parser for files.
상속: StreamIniDataParser
파일 보기 프로젝트 열기: demiurghg/FusionEngine

공개 메소드들

메소드 설명
FileIniDataParser ( ) : System

Ctor

FileIniDataParser ( IniDataParser parser ) : System

Ctor

ReadFile ( string filePath ) : IniData

Implements reading ini data from a file.

Uses Encoding.Default codification for the file.

ReadFile ( string filePath, Encoding fileEncoding ) : IniData

Implements reading ini data from a file.

WriteFile ( string filePath, IniData parsedData, Encoding fileEncoding = null ) : void

Writes INI data to a text file.

비공개 메소드들

메소드 설명
LoadFile ( string filePath ) : IniData
LoadFile ( string filePath, Encoding fileEncoding ) : IniData
SaveFile ( string filePath, IniData parsedData ) : void

메소드 상세

FileIniDataParser() 공개 메소드

Ctor
public FileIniDataParser ( ) : System
리턴 System

FileIniDataParser() 공개 메소드

Ctor
public FileIniDataParser ( IniDataParser parser ) : System
parser Fusion.Core.IniParser.Parser.IniDataParser
리턴 System

ReadFile() 공개 메소드

Implements reading ini data from a file.
Uses Encoding.Default codification for the file.
public ReadFile ( string filePath ) : IniData
filePath string /// Path to the file ///
리턴 Fusion.Core.IniParser.Model.IniData

ReadFile() 공개 메소드

Implements reading ini data from a file.
public ReadFile ( string filePath, Encoding fileEncoding ) : IniData
filePath string /// Path to the file ///
fileEncoding System.Text.Encoding /// File's encoding. ///
리턴 Fusion.Core.IniParser.Model.IniData

WriteFile() 공개 메소드

Writes INI data to a text file.
public WriteFile ( string filePath, IniData parsedData, Encoding fileEncoding = null ) : void
filePath string /// Path to the file. ///
parsedData Fusion.Core.IniParser.Model.IniData /// IniData to be saved as an INI file. ///
fileEncoding System.Text.Encoding /// Specifies the encoding used to create the file. ///
리턴 void