help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TFileStream

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

Stream that stores its data in a named file on disk.

Declaration

Source position: classesh.inc line 665

type TFileStream = class(THandleStream)

public

  procedure Create();

  

Creates a file stream.

  destructor Destroy; override;

  

Destroys the file stream.

  property FileName: String; [r]

  

The filename of the stream.

end;

Inheritance

TFileStream

  

Stream that stores its data in a named file on disk.

|

THandleStream

  

Base class for streams that are identified by an OS handle.

|

TStream

  

Base class for streams.

|

TObject

Description

TFileStream is a TStream descdendent that stores or reads it's data from a named file in the filesystem of the operating system.

To this end, it overrides some of the abstract methods in TStream and implements them for the case of files on disk, and it adds the FileName property to the list of public properties.

See also

TFileStream.Create

  

Creates a file stream.

TStream

  

Base class for streams.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505