Class TCastleTextWriter

Unit

Declaration

type TCastleTextWriter = class(TCastleTextReaderWriter)

Description

Write to a stream like to a text file.

You can write to an arbitrary TStream instance, or you can write to an URL. Writing to an URL supports all URL protocols supportted by UrlSaveStream, which for now doesn't include much: only file protocol. But it will produce a nice exception message in case of unsupprted URL protocol.

Source: files/castledownload_text.inc (line 108).

Hierarchy

Show Additional Members:

Overview

Methods

Public constructor Create(AStream: TStream; 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(AStream: TStream; AOwnsStream: boolean); overload;

Open a stream. If AOwnsStream then in destructor we will free given AStream object.

Source: files/castledownload_text.inc (line 28).

Public destructor Destroy; override;

This item has no description.

Source: files/castledownload_text.inc (line 29).

Public constructor Create(const Url: String); overload;

This item has no description.

Source: files/castledownload_text.inc (line 110).

Public procedure Write(const S: string); overload;

This item has no description.

Source: files/castledownload_text.inc (line 111).

Public procedure Write(const S: string; const Args: array of const); overload;

This item has no description.

Source: files/castledownload_text.inc (line 112).

Public procedure Writeln(const S: string = ''); overload;

This item has no description.

Source: files/castledownload_text.inc (line 113).

Public procedure Writeln(const S: string; const Args: array of const); overload;

This item has no description.

Source: files/castledownload_text.inc (line 114).


Generated by PasDoc 0.17.0.snapshot.