TTextReader class
Text reader class.
Declaration
TTextReader = class(TObject)Inheritance
- TTextReader
- TObject
Descends from it: TFileReader TStreamReader TStringReader
Description
TTextReader is an abstract class that provides a line-oriented reading API.
It allows to read data from streams or memory blocks as if one was using regular pascal
Read or
ReadLn operations: the
ReadLine procedure.
Several descendents of this class exist which implement the reader interface for several sources of text
data:
TStreamReader,
TFileReader,
TStringReader.See also
Properties
Eof | public | Check whether the end of the text data is returned. |
EndOfStream | public |
Methods
IsEof | protected | Check whether the end of the text data is returned. |
Create | public | Instantiate a new instance. |
Reset | public | Reset the reader to the start position. |
Close | public | Close the text data stream. |
ReadLine | public | Read a line of text. |
Inherited
From TObject (41)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
