Method LoadStream
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
LoadStream(Stream, IStringImport)
When implemented by a class, loads the text content from the given stream with specified importer.
bool LoadStream(Stream stream, IStringImport importer)
Parameters
stream
StreamThe Stream object to write the text.
importer
IStringImportSpecifies importer to load content.
Returns
- bool
True is succeed; otherwise false.
LoadStream(Stream, IStringImport, Encoding)
When implemented by a class, loads the text content from the given stream with specified importer.
bool LoadStream(Stream stream, IStringImport importer, Encoding encoding)
Parameters
stream
StreamThe Stream object to load the text.
importer
IStringImportSpecifies importer to load content.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.
LoadStream(TextReader, IStringImport)
When implemented by a class, loads the text content from the given stream with specified importer.
bool LoadStream(TextReader reader, IStringImport importer)
Parameters
reader
TextReaderThe TextReader object to load the text.
importer
IStringImportSpecifies importer to load content.
Returns
- bool
True is succeed; otherwise false.