csvconv

Undocumented in source.

Members

Classes

CSVImportException
class CSVImportException

Thrown on import errors.

Enums

CSVFlags
enum CSVFlags

Defines CSV flags.

Functions

fromCSV
void fromCSV(string source, MapDocument dest)

Imports a CSV document to a layer. NOTE: Named tiles are not supported.

readCsv
string[][] readCsv(string data)

Borrowed from Adam D. Ruppe, because the one in phobos is an abomination! Returns the array of csv rows from the given in-memory data (the argument is NOT a filename).

toCSV
void toCSV(string target, ITileLayer source)

Converts a layer's content into CSV data. Throws an exception if an error have been encountered.

Meta