[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implement TTextReader for streams.
Source position: streamex.pp line 110
type TStreamReader = class(TTextReader) |
||
public |
||
constructor Create(); |
|
Create a new instance of TStreamReader from a stream. |
destructor Destroy; override; |
|
Destroy the TStreamReader instance. |
procedure Reset; override; |
|
Reset the stream to its original position. |
procedure Close; override; |
|
Close and possibly free the stream. |
procedure ReadLine(); override; overload; |
|
Read a line of text. |
property BaseStream: TStream; [r] |
|
The stream with the text data. |
property OwnsStream: Boolean; [rw] |
|
Should the stream be freed on close. |
end; |
|
Implement TTextReader for streams. |
|
| | ||
|
Text reader class. |
|
| | ||
TObject |
TStreamReader is a TTextReader descendent that takes a stream as the source of text data. It can free the stream and the buffer size to use for reading data can be set.
|
Text reader class. |