Unit 'streamex' Package
[Overview][Constants][Classes][Index] [#fcl]

TFileReader

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implement TTextReader for files.

Declaration

Source position: streamex.pp line 151

type TFileReader = class(TTextReader)

public

  constructor Create();

  

Create a new instance of TFileReader for a disk file.

  destructor Destroy; override;

  

Remove the TFileReader instance from memory.

  procedure Reset; override;

  

Reset the stream to its original position.

  procedure Close; override;

  

Close the file.

  procedure ReadLine(); override; overload;

  

Read a line of text.

end;

Inheritance

TFileReader

  

Implement TTextReader for files.

|

TTextReader

  

Text reader class.

|

TObject

Description

TFileReader is a TTextReader descendent that takes a file on disk as the source of text data.

See also

TStreamReader

  

Implement TTextReader for streams.

TTextReader

  

Text reader class.


Documentation generated on: Dec 22 2024