Base classs for delimited files (CSV, etc.)
More...
Base classs for delimited files (CSV, etc.)
Definition at line 35 of file Delimited.cs.
Utilities.IO.FileFormats.Delimited.Delimited.Delimited |
( |
| ) |
|
Utilities.IO.FileFormats.Delimited.Delimited.Delimited |
( |
string |
FileContent | ) |
|
Utilities.IO.FileFormats.Delimited.Delimited.Delimited |
( |
string |
FileContent, |
|
|
string |
Delimiter |
|
) |
| |
Constructor
- Parameters
-
FileContent | File content |
Delimiter | Delimiter that the system uses |
Definition at line 58 of file Delimited.cs.
override void Utilities.IO.FileFormats.Delimited.Delimited.LoadFromData |
( |
string |
Data | ) |
|
|
protected |
Loads the object from the data specified
- Parameters
-
Data | Data to load into the object |
Definition at line 165 of file Delimited.cs.
static implicit Utilities.IO.FileFormats.Delimited.Delimited.operator Delimited |
( |
DataTable |
Value | ) |
|
|
static |
Converts the string to the format specified
- Parameters
-
- Returns
- The string as an object
Definition at line 76 of file Delimited.cs.
void Utilities.IO.FileFormats.Delimited.Delimited.Parse |
( |
string |
FileContent | ) |
|
Parses file content and adds it to the delimited file
- Parameters
-
Definition at line 103 of file Delimited.cs.
DataTable Utilities.IO.FileFormats.Delimited.Delimited.ToDataTable |
( |
bool |
FirstRowIsHeader = true , |
|
|
params string[] |
Headers |
|
) |
| |
Converts the delimited file to a DataTable
- Parameters
-
FirstRowIsHeader | Determines if the first row should be treated as a header or not |
Headers | Headers for the columns if the first row is not a header |
- Returns
- The delimited file as a DataTable
Definition at line 123 of file Delimited.cs.
override string Utilities.IO.FileFormats.Delimited.Delimited.ToString |
( |
| ) |
|
To string function
- Returns
- A string containing the file information
Definition at line 154 of file Delimited.cs.
string Utilities.IO.FileFormats.Delimited.Delimited.Delimiter |
|
getset |
The delimiter used to seperate values (must be overridden)
Definition at line 67 of file Delimited.cs.
The documentation for this class was generated from the following file: