A class in Alta.IO, Alta.Utilities.
File format that stores a file's whole content as one string.
Constructors
| Member | What it is |
|---|
TextFileFormat() | Creates a TextFileFormat with default values. |
Properties
| Member | What it is |
|---|
string Text { get; set; } | The file's text content. |
Methods
| Member | What it is |
|---|
override IAltaFileFormat Clone() | Returns a new TextFileFormat with the same text. |
override void ReadFrom(FileInfo info, Stream stream) | Reads the whole stream into Text. |
override void WriteTo(Stream stream, CancellationToken token) | Writes Text to the stream. Ignores the cancellation token. |