Class CsvIncomingDataParser

Summary description for CsvIncomingDataParser.

Inheritance
System.Object
CsvIncomingDataParser
Implements
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()
Namespace: Mediachase.MetaDataPlus.Import.Parser
Assembly: Mediachase.MetaDataPlus.dll
Version: 10.8.0
Syntax
public class CsvIncomingDataParser : IIncomingDataParser

Constructors

CsvIncomingDataParser(String, Boolean, Char)

Declaration
public CsvIncomingDataParser(string SourceFolder, bool withHeader, char Delimiter)
Parameters
Type Name Description
System.String SourceFolder
System.Boolean withHeader
System.Char Delimiter

CsvIncomingDataParser(String, Boolean, Char, Char)

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

CsvIncomingDataParser(String, Boolean, Char, Char, Boolean)

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

p_delimiter

Declaration
protected char p_delimiter
Field Value
Type Description
System.Char

p_encoding

Declaration
protected Encoding p_encoding
Field Value
Type Description
System.Text.Encoding

p_MultiLines

Declaration
protected bool p_MultiLines
Field Value
Type Description
System.Boolean

p_SourceFolder

Declaration
protected string p_SourceFolder
Field Value
Type Description
System.String

p_textQualifier

Declaration
protected char p_textQualifier
Field Value
Type Description
System.Char

p_withHeader

Declaration
protected bool p_withHeader
Field Value
Type Description
System.Boolean

Properties

Description

Declaration
public string Description { get; }
Property Value
Type Description
System.String

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Methods

CanParse(String, Stream)

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

FillTable(String, DataTable)

Declaration
protected void FillTable(string FullPath, DataTable table)
Parameters
Type Name Description
System.String FullPath
System.Data.DataTable table

FillTableMetaData(DataTable, String)

Declaration
protected void FillTableMetaData(DataTable table, string line)
Parameters
Type Name Description
System.Data.DataTable table
System.String line

Parse(String, Stream)

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