Class CsvIncomingDataParser
Summary description for CsvIncomingDataParser.
Inheritance
System.Object
CsvIncomingDataParser
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Mediachase.MetaDataPlus.dll
Version: 10.8.0
public class CsvIncomingDataParser : IIncomingDataParser
Constructors
Declaration
public CsvIncomingDataParser(string SourceFolder, bool withHeader, char Delimiter)
Parameters
Type |
Name |
Description |
System.String |
SourceFolder |
|
System.Boolean |
withHeader |
|
System.Char |
Delimiter |
|
Declaration
public CsvIncomingDataParser(string SourceFolder, bool withHeader, char Delimiter, char textQualifier)
Parameters
Type |
Name |
Description |
System.String |
SourceFolder |
|
System.Boolean |
withHeader |
|
System.Char |
Delimiter |
|
System.Char |
textQualifier |
|
Declaration
public CsvIncomingDataParser(string SourceFolder, bool withHeader, char Delimiter, char textQualifier, bool MultiLines)
Parameters
Type |
Name |
Description |
System.String |
SourceFolder |
|
System.Boolean |
withHeader |
|
System.Char |
Delimiter |
|
System.Char |
textQualifier |
|
System.Boolean |
MultiLines |
|
CsvIncomingDataParser(String, Boolean, Char, Char, Boolean, Encoding)
Declaration
public CsvIncomingDataParser(string SourceFolder, bool withHeader, char Delimiter, char textQualifier, bool MultiLines, Encoding textEncoding)
Parameters
Type |
Name |
Description |
System.String |
SourceFolder |
|
System.Boolean |
withHeader |
|
System.Char |
Delimiter |
|
System.Char |
textQualifier |
|
System.Boolean |
MultiLines |
|
System.Text.Encoding |
textEncoding |
|
Fields
Declaration
protected char p_delimiter
Field Value
Type |
Description |
System.Char |
|
Declaration
protected Encoding p_encoding
Field Value
Type |
Description |
System.Text.Encoding |
|
Declaration
protected bool p_MultiLines
Field Value
Type |
Description |
System.Boolean |
|
Declaration
protected string p_SourceFolder
Field Value
Type |
Description |
System.String |
|
p_textQualifier
Declaration
protected char p_textQualifier
Field Value
Type |
Description |
System.Char |
|
Declaration
protected bool p_withHeader
Field Value
Type |
Description |
System.Boolean |
|
Properties
Declaration
public string Description { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public virtual bool CanParse(string FileName, Stream stream)
Parameters
Type |
Name |
Description |
System.String |
FileName |
|
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected void FillTable(string FullPath, DataTable table)
Parameters
Type |
Name |
Description |
System.String |
FullPath |
|
System.Data.DataTable |
table |
|
Declaration
protected void FillTableMetaData(DataTable table, string line)
Parameters
Type |
Name |
Description |
System.Data.DataTable |
table |
|
System.String |
line |
|
Declaration
public virtual DataSet Parse(string FileName, Stream stream)
Parameters
Type |
Name |
Description |
System.String |
FileName |
|
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Data.DataSet |
|
Implements