C# 클래스 Kajabity.Tools.Java.JavaPropertyWriter

Use this class for writing a set of key value pair strings to an output stream using the Java properties format.
파일 보기 프로젝트 열기: Kajabity/Kajabity-Tools 1 사용 예제들

공개 메소드들

메소드 설명
JavaPropertyWriter ( Hashtable hashtable ) : System

Construct an instance of this class.

Write ( Stream stream, string comments ) : void

Write the properties to the output stream.

비공개 메소드들

메소드 설명
escapeKey ( string s ) : string

Escape the string as a Key with character set ISO-8859-1 - the characters 0-127 are US-ASCII and we will escape any others. The passed string is Unicode which extends ISO-8859-1 - so all is well.

escapeValue ( string s ) : string

메소드 상세

JavaPropertyWriter() 공개 메소드

Construct an instance of this class.
public JavaPropertyWriter ( Hashtable hashtable ) : System
hashtable System.Collections.Hashtable The Hashtable (or JavaProperties) instance /// whose values are to be written.
리턴 System

Write() 공개 메소드

Write the properties to the output stream.
public Write ( Stream stream, string comments ) : void
stream Stream The output stream where the properties are written.
comments string Optional comments that are placed at the beginning of the output.
리턴 void