Class TBrookTextReader
Unit
Declaration
type TBrookTextReader = class abstract(TObject)
Description
Abstract class for line reader.
Hierarchy
- TObject
- TBrookTextReader
Overview
Methods
procedure Reset; virtual; abstract; |
|
procedure Close; virtual; abstract; |
|
function IsEOF: Boolean; virtual; abstract; |
|
procedure ReadBytes(out ALine: TBytes); overload; virtual; abstract; |
|
function ReadBytes: TBytes; overload; virtual; abstract; |
|
procedure Read(out ALine: string); overload; virtual; abstract; |
|
function Read: string; overload; virtual; abstract; |
Properties
property EOF: Boolean read IsEOF; |
|
property Encoding: TEncoding read GetEncoding write SetEncoding; |
Description
Methods
procedure Reset; virtual; abstract; |
|
Resets the reader to its initial state. |
procedure Close; virtual; abstract; |
|
Closes the reader. |
function IsEOF: Boolean; virtual; abstract; |
|
Checks if the reader has reached the End-Of-File. Returns
|
procedure ReadBytes(out ALine: TBytes); overload; virtual; abstract; |
|
Reads a line as bytes. Parameters
|
function ReadBytes: TBytes; overload; virtual; abstract; |
|
Reads a line returning it as bytes. ReturnsLine read as bytes. |
procedure Read(out ALine: string); overload; virtual; abstract; |
|
Reads a line as static string. Parameters
|
function Read: string; overload; virtual; abstract; |
|
ReturnsLine |
Properties
property EOF: Boolean read IsEOF; |
|
|
property Encoding: TEncoding read GetEncoding write SetEncoding; |
|
Character |
Generated by PasDoc 0.16.0.