C# 클래스 ConvertLib.FilteredStreamReader

Stream reader that will change control charaters to spaces. Will prevent conversion of projects with control characters in the text from failing. Could quote the characters, but they are not likely to be really wanted in the text.
상속: System.IO.StreamReader
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
FilteredStreamReader ( string path ) : System
Read ( ) : int

Overrides read to filter out control characters.

Read ( char buffer, int index, int count ) : int

Overrides read to filter out control characters.

ReadLine ( ) : string

Overrides read to filter out control characters.

비공개 메소드들

메소드 설명
ConvertControlCharToSpace ( char c ) : char

메소드 상세

FilteredStreamReader() 공개 메소드

public FilteredStreamReader ( string path ) : System
path string
리턴 System

Read() 공개 메소드

Overrides read to filter out control characters.
public Read ( ) : int
리턴 int

Read() 공개 메소드

Overrides read to filter out control characters.
public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
리턴 int

ReadLine() 공개 메소드

Overrides read to filter out control characters.
public ReadLine ( ) : string
리턴 string