C# 클래스 Pchp.Library.Streams.TextReadFilter

Stream Filter used to convert \r\n to \n when reading a text file.
상속: IFilter
파일 보기 프로젝트 열기: iolevel/peachpie 1 사용 예제들

공개 메소드들

메소드 설명
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