Class TStringsHelper

Unit

Declaration

type TStringsHelper = class helper(TObject) for TStrings

Description

Copyright 2013-2020 Michalis Kamburelis.

This file is part of "Castle Game Engine".

"Castle Game Engine" is free software; see the file COPYING.txt, included in this distribution, for details about the copyright.

"Castle Game Engine" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

—————————————————————————-

Hierarchy

  • TObject
  • TStringsHelper

Overview

Methods

Public procedure LoadFromURL(const URL: string); overload;
Public procedure LoadFromURL(const URL: string; const AEncoding: TEncoding); overload;
Public procedure SaveToURL(const URL: string);

Description

Methods

Public procedure LoadFromURL(const URL: string); overload;

Load the contents from URL. Uses Castle Game Engine Download to get the contents, then uses standard LoadFromStream to load them.

The meaning (and default behaviour) of optional AEncoding is the same as for TStrings.LoadFromFile and TStrings.LoadFromStream.

Public procedure LoadFromURL(const URL: string; const AEncoding: TEncoding); overload;
 
Public procedure SaveToURL(const URL: string);

Save the contents to URL. Uses standard SaveToStream combined with Castle Game Engine URLSaveStream to save the contents.


Generated by PasDoc 0.15.0.