Smart Localization  2.3
SmartLocalization.Editor.CSVExporter Class Reference

A CSV Exporter More...

Static Public Member Functions

static char GetDelimiter (CSVDelimiter delimiter)
 Gets the actual delimiter char based on the CSVDelimiter type More...
 
static void WriteCSV (string path, char delimiter, List< List< string >> input)
 Write the csv to file More...
 
static void WriteCSV (string path, char delimiter, List< string > keys, Dictionary< string, Dictionary< string, string >> languages)
 Write a combined CSV to File More...
 
static List< List< string > > ReadCSV (string path, char delimiter)
 Read a csv file More...
 

Detailed Description

A CSV Exporter

Member Function Documentation

static char SmartLocalization.Editor.CSVExporter.GetDelimiter ( CSVDelimiter  delimiter)
static

Gets the actual delimiter char based on the CSVDelimiter type

Parameters
delimiterThe delimiter type
Returns
the delimiter
static List<List<string> > SmartLocalization.Editor.CSVExporter.ReadCSV ( string  path,
char  delimiter 
)
static

Read a csv file

Parameters
pathThe path to the file
delimiterThe delimiter used in the file
Returns
The parsed csv values
static void SmartLocalization.Editor.CSVExporter.WriteCSV ( string  path,
char  delimiter,
List< List< string >>  input 
)
static

Write the csv to file

Parameters
pathThe destination path
delimiterThe delimiter to separate values with
inputThe Values
static void SmartLocalization.Editor.CSVExporter.WriteCSV ( string  path,
char  delimiter,
List< string >  keys,
Dictionary< string, Dictionary< string, string >>  languages 
)
static

Write a combined CSV to File

Parameters
pathThe destination path
delimiterThe delimiter to separate values with

The documentation for this class was generated from the following file: