Class TCastleTextWriter
Unit
Declaration
type TCastleTextWriter = class(TCastleTextReaderWriter)
Description
Write to a stream, treating it as a text file with UTF-8 encoding.
You can write to an arbitrary TStream instance, or you can write to an URL. Writing to an URL supports all URL protocols supported by UrlSaveStream, which for now doesn't include much: only file protocol. But it will produce a nice exception message in case of unsupported URL protocol.
Source: files/castledownload_text.inc (line 127).
Hierarchy
- TObject
- TCastleTextReaderWriter
- TCastleTextWriter
Overview
Methods
| Public | constructor Create(const AStream: TStream; const AOwnsStream: boolean); overload; |
| Public | destructor Destroy; override; |
| Public | constructor Create(const Url: String); overload; |
| Public | procedure Write(const S: string); overload; |
| Public | procedure Write(const S: string; const Args: array of const); overload; |
| Public | procedure Writeln(const S: string = ''); overload; |
| Public | procedure Writeln(const S: string; const Args: array of const); overload; |
Description
Methods
| Public | constructor Create(const AStream: TStream; const AOwnsStream: boolean); overload; |
|
This item is declared in ancestor TCastleTextReaderWriter. Open a stream. If AOwnsStream then in destructor we will free given AStream object. | |
| Public | destructor Destroy; override; |
|
This item is declared in ancestor TCastleTextReaderWriter. This item has no description. | |
| Public | constructor Create(const Url: String); overload; |
|
This item has no description. | |
| Public | procedure Write(const S: string); overload; |
|
This item has no description. | |
| Public | procedure Write(const S: string; const Args: array of const); overload; |
|
This item has no description. | |
| Public | procedure Writeln(const S: string = ''); overload; |
|
This item has no description. | |
| Public | procedure Writeln(const S: string; const Args: array of const); overload; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.