C# 클래스 NGettext.Loaders.MoFileParser

MO file format parser. See http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html
파일 보기 프로젝트 열기: neris/NGettext 1 사용 예제들

공개 메소드들

메소드 설명
MoFileParser ( ) : System

Initializes a new instance of the MoFileParser class with UTF-8 as default encoding and with enabled automatic encoding detection.

MoFileParser ( Encoding defaultEncoding, bool autoDetectEncoding = true ) : System

Initializes a new instance of the MoFileParser class using given default encoding and given automatic encoding detection option.

Parse ( Stream stream ) : MoFile

Parses a GNU MO file from the given stream and loads all available data.

http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html

비공개 메소드들

메소드 설명
_ReadStrings ( BinaryReader reader, int offset, int length, Encoding encoding ) : string[]
_ReverseBytes ( uint value ) : uint

메소드 상세

MoFileParser() 공개 메소드

Initializes a new instance of the MoFileParser class with UTF-8 as default encoding and with enabled automatic encoding detection.
public MoFileParser ( ) : System
리턴 System

MoFileParser() 공개 메소드

Initializes a new instance of the MoFileParser class using given default encoding and given automatic encoding detection option.
public MoFileParser ( Encoding defaultEncoding, bool autoDetectEncoding = true ) : System
defaultEncoding System.Text.Encoding
autoDetectEncoding bool
리턴 System

Parse() 공개 메소드

Parses a GNU MO file from the given stream and loads all available data.
http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html
public Parse ( Stream stream ) : MoFile
stream Stream Stream that contain binary data in the MO file format
리턴 MoFile