Copyright (C) 2022-2023, AdaCore
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
procedure Close (Self : in out File_Input_Text_Stream'Class)
Close file.
type File_Input_Text_Stream is
limited new VSS.Text_Streams.Input_Text_Stream with private;
procedure Open
(Self : in out File_Input_Text_Stream'Class;
Name : VSS.Strings.Virtual_String)
Open file with the given name to load text data from. System defined encoding is used to decode text data.
procedure Open
(Self : in out File_Input_Text_Stream'Class;
Name : VSS.Strings.Virtual_String;
Encoding : VSS.Strings.Virtual_String)
Open file with the given name to load text data encoded with given text encoding.
procedure Set_Encoding
(Self : in out File_Input_Text_Stream'Class;
Encoding : VSS.Strings.Virtual_String)
Sets encoding of the data to be used to load information from the file. Encoding can be set only when file is not open.