Static
csvLoads the contents of a CSV file from a given path and returns them as an Array of JSONObjects.
IllegalArgumentError if the path or the delimiter is empty
The path to the CSV file (including the file name and extension).
The symbol that separates the values in the CSV file.
The symbol that separates the integer part from the decimal part of a number.
Optional
thousands: stringThe symbol that separates the thousands of a number.
JSONObject[]
the CSV contents
Static
jsonConverts the given buildings to a CSV file and saves it to the given path.
IllegalArgumentError if the file could not be saved
The location where the CSV file should be saved (should include the file name and extension)
The buildings that should be converted to a CSV file
true
if the CSV file was successfully saved
Generated using TypeDoc
This class provides methods to handle CSV files.