mirror of
https://github.com/processing/processing4.git
synced 2026-02-05 06:39:20 +01:00
fix for bin extension not being set in Table
This commit is contained in:
@@ -276,18 +276,16 @@ public class Table {
|
||||
extension = "csv";
|
||||
} else if (opt.equals("ods")) {
|
||||
extension = "ods";
|
||||
|
||||
} else if (opt.equals("newlines")) {
|
||||
awfulCSV = true;
|
||||
|
||||
extension = "csv";
|
||||
} else if (opt.equals("bin")) {
|
||||
binary = true;
|
||||
extension = "bin";
|
||||
} else if (opt.equals("header")) {
|
||||
header = true;
|
||||
|
||||
} else if (opt.startsWith(sheetParam)) {
|
||||
worksheet = opt.substring(sheetParam.length());
|
||||
|
||||
} else {
|
||||
throw new IllegalArgumentException("'" + opt + "' is not a valid option for loading a Table");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user