C# Class 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.
Inheritance: System.IO.StreamReader
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ConvertControlCharToSpace ( char c ) : char

Method Details

FilteredStreamReader() public méthode

public FilteredStreamReader ( string path ) : System
path string
Résultat System

Read() public méthode

Overrides read to filter out control characters.
public Read ( ) : int
Résultat int

Read() public méthode

Overrides read to filter out control characters.
public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
Résultat int

ReadLine() public méthode

Overrides read to filter out control characters.
public ReadLine ( ) : string
Résultat string