C# Класс Pchp.Library.Streams.TextReadFilter

Stream Filter used to convert \r\n to \n when reading a text file.
Наследование: IFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Filter ( Context ctx, TextElement input, bool closing ) : TextElement

Processes the input (either of type string or byte[]) data and returns the filtered data in one of the formats above or null.

OnClose ( ) : void

Called when the containig stream is being closed.

OnCreate ( ) : void

Called when the filter is attached to a stream.

Описание методов

Filter() публичный Метод

Processes the input (either of type string or byte[]) data and returns the filtered data in one of the formats above or null.
public Filter ( Context ctx, TextElement input, bool closing ) : TextElement
ctx Pchp.Core.Context
input TextElement
closing bool
Результат TextElement

OnClose() публичный Метод

Called when the containig stream is being closed.
public OnClose ( ) : void
Результат void

OnCreate() публичный Метод

Called when the filter is attached to a stream.
public OnCreate ( ) : void
Результат void