[Overview][Constants][Classes][Index] Reference for unit 'streamex' (#fcl)

TStringReader

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

Implement TTextReader for a single string

Declaration

Source position: streamex.pp line 127

type TStringReader = class(TTextReader)

public

  constructor Create();

  

Create a new instance of TStreamReader from a string

  destructor Destroy; override;

  

Free the TStringReader 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

end;

Inheritance

TStringReader

  

Implement TTextReader for a single string

|

TTextReader

  

Text reader class.

|

TObject

Description

TStreamReader is a TTextReader descendent that takes a single string as the source of text data.

See also

TTextReader

  

Text reader class.


Documentation generated on: May 14 2021