A CSV Parser
More...
|
| static char | GetDelimiter (Delimiter delimiter) |
| | Gets the actual delimiter char based on the CSVDelimiter type More...
|
| |
| static void | Write (string path, char delimiter, List< List< string >> input) |
| | Write the csv to file More...
|
| |
| static void | Write (string path, char delimiter, List< string > keys, Dictionary< string, Dictionary< string, string >> languages) |
| | Write a combined CSV to File More...
|
| |
| static List< List< string > > | Read (string path, char delimiter) |
| | Read a csv file More...
|
| |
The delimiter type for CSV
| Enumerator |
|---|
| COMMA |
COMMA
|
| SEMI_COLON |
SEMI_COLON
|
| TAB |
TAB
|
| VERTICAL_BAR |
VERTICAL_BAR
|
| CARET |
CARET
|
| static char SmartLocalization.Editor.CSVParser.GetDelimiter |
( |
Delimiter |
delimiter | ) |
|
|
static |
Gets the actual delimiter char based on the CSVDelimiter type
- Parameters
-
| delimiter | The delimiter type |
- Returns
- the delimiter
| static List<List<string> > SmartLocalization.Editor.CSVParser.Read |
( |
string |
path, |
|
|
char |
delimiter |
|
) |
| |
|
static |
Read a csv file
- Parameters
-
| path | The path to the file |
| delimiter | The delimiter used in the file |
- Returns
- The parsed csv values
| static void SmartLocalization.Editor.CSVParser.Write |
( |
string |
path, |
|
|
char |
delimiter, |
|
|
List< List< string >> |
input |
|
) |
| |
|
static |
Write the csv to file
- Parameters
-
| path | The destination path |
| delimiter | The delimiter to separate values with |
| input | The Values |
| static void SmartLocalization.Editor.CSVParser.Write |
( |
string |
path, |
|
|
char |
delimiter, |
|
|
List< string > |
keys, |
|
|
Dictionary< string, Dictionary< string, string >> |
languages |
|
) |
| |
|
static |
Write a combined CSV to File
- Parameters
-
| path | The destination path |
| delimiter | The delimiter to separate values with |
The documentation for this class was generated from the following file:
- Assets/SmartLocalization/Scripts/Editor/FileSystem/CSVParser.cs