Method LoadStream
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.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
streamStreamThe Stream object to write the text.
importerIStringImportSpecifies 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
streamStreamThe Stream object to load the text.
importerIStringImportSpecifies importer to load content.
encodingEncodingSpecifies 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
readerTextReaderThe TextReader object to load the text.
importerIStringImportSpecifies importer to load content.
Returns
- bool
True is succeed; otherwise false.