C# Class Utilities.FileUtility

Mostra file Open project: jediskywalker/RTDeals

Public Methods

Method Description
CheckXLS ( String fileName ) : bool
ConstructCSVLine ( string cols ) : string[]
IsTextFile ( String fileName ) : bool
getXLSLeadsRecordsTable ( string file, bool hasHeader ) : DataTable

Private Methods

Method Description
FileUtility ( ) : System

Method Details

CheckXLS() public static method

public static CheckXLS ( String fileName ) : bool
fileName String
return bool

ConstructCSVLine() public static method

public static ConstructCSVLine ( string cols ) : string[]
cols string
return string[]

IsTextFile() public static method

public static IsTextFile ( String fileName ) : bool
fileName String
return bool

getXLSLeadsRecordsTable() public static method

public static getXLSLeadsRecordsTable ( string file, bool hasHeader ) : DataTable
file string
hasHeader bool
return System.Data.DataTable