TextSource

Class TextSource

Reads data from a text file. Each line is read as a string and converted into an object by the ParseLineFunc. A line is defined as a sequence of characters followed by a line feed("\n"), a carriage return ("\r"), or a carriage return immediately followed by a line feed("\r\n").

Inherited Members
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public class TextSource : TextSource<ExpandoObject>, IDataFlowStreamSource<ExpandoObject>, IDataFlowExecutableSource<ExpandoObject>, IDataFlowStreamSource, IDataFlowExecutableSource, IDataFlowSource<ExpandoObject>, IDataFlowSource, IDataFlowComponent, ILoggableTask

Constructors

TextSource()

Declaration
    public TextSource()

TextSource(string)

Declaration
    public TextSource(string uri)
Parameters
TypeNameDescription
stringuri

TextSource(string, Func<string, int, ExpandoObject>)

Declaration
    public TextSource(string uri, Func<string, int, ExpandoObject> parseLineFunc)
Parameters
TypeNameDescription
stringuri
Func<string, int, ExpandoObject>parseLineFunc

Implements