Definition at line 18 of file CSVParser.cs.
◆ AddCell()
| static void yutokun.CSVParser.AddCell |
( |
List< string > | row, |
|
|
StringBuilder | cell ) |
|
inlinestaticprivate |
◆ AddRow()
| static void yutokun.CSVParser.AddRow |
( |
List< List< string > > | sheet, |
|
|
ref List< string > | row ) |
|
inlinestaticprivate |
◆ ConvertToCrlf()
| static void yutokun.CSVParser.ConvertToCrlf |
( |
ref string | data | ) |
|
|
inlinestaticprivate |
◆ EstimateDelimiter()
| static Delimiter yutokun.CSVParser.EstimateDelimiter |
( |
string | path | ) |
|
|
inlinestaticprivate |
◆ LoadFromPath()
| static List< List< string > > yutokun.CSVParser.LoadFromPath |
( |
string | path, |
|
|
Delimiter | delimiter = Delimiter::Auto, |
|
|
Encoding | encoding = null ) |
|
inlinestatic |
Load CSV data from specified path.
- Parameters
-
| path | CSV file path. |
| delimiter | Delimiter. |
| encoding | Type of text encoding. (default UTF-8) |
- Returns
- Nested list that CSV parsed.
Definition at line 27 of file CSVParser.cs.
◆ LoadFromPathAsync()
| static async Task< List< List< string > > > yutokun.CSVParser.LoadFromPathAsync |
( |
string | path, |
|
|
Delimiter | delimiter = Delimiter::Auto, |
|
|
Encoding | encoding = null ) |
|
inlinestatic |
Load CSV data asynchronously from specified path.
- Parameters
-
| path | CSV file path. |
| delimiter | Delimiter. |
| encoding | Type of text encoding. (default UTF-8) |
- Returns
- Nested list that CSV parsed.
Definition at line 47 of file CSVParser.cs.
◆ LoadFromString()
Load CSV data from string.
- Parameters
-
| data | CSV string |
| delimiter | Delimiter. |
- Returns
- Nested list that CSV parsed.
Definition at line 85 of file CSVParser.cs.
◆ Parse()
| static List< List< string > > yutokun.CSVParser.Parse |
( |
string | data, |
|
|
Delimiter | delimiter ) |
|
inlinestaticprivate |
The documentation for this class was generated from the following file: