C# Class Utilities.FileUtility

Afficher le fichier Open project: jediskywalker/RTDeals

Méthodes publiques

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

Private Methods

Méthode Description
FileUtility ( ) : System

Method Details

CheckXLS() public static méthode

public static CheckXLS ( String fileName ) : bool
fileName String
Résultat bool

ConstructCSVLine() public static méthode

public static ConstructCSVLine ( string cols ) : string[]
cols string
Résultat string[]

IsTextFile() public static méthode

public static IsTextFile ( String fileName ) : bool
fileName String
Résultat bool

getXLSLeadsRecordsTable() public static méthode

public static getXLSLeadsRecordsTable ( string file, bool hasHeader ) : DataTable
file string
hasHeader bool
Résultat System.Data.DataTable