Class TTextWriter

Unit

Declaration

type TTextWriter = class(TTextReaderWriter)

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.

Hierarchy

Overview

Methods

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 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;
 

Generated by PasDoc 0.16.0.