From 668dabb9e7fdc22f636777784eee6ddc21a50eb1 Mon Sep 17 00:00:00 2001 From: alignedleft Date: Thu, 27 Dec 2012 00:23:00 +0000 Subject: [PATCH] Added ref pages for Table, corrected minor typos elsewhere, updated todo.txt --- core/src/processing/core/PApplet.java | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 4abad6d9d..0fc1ba368 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -5893,7 +5893,11 @@ public class PApplet extends Applet - + /** + * @webref input:files + * @see PApplet#loadTable(String) + * @see PApplet#saveTable(Table, String) + */ public Table createTable() { return new Table(); } @@ -5902,6 +5906,8 @@ public class PApplet extends Applet /** * @webref input:files * @param filename name of a file in the data folder or a URL. + * @see PApplet#createTable() + * @see PApplet#saveTable(Table, String) * @see PApplet#loadBytes(String) * @see PApplet#loadStrings(String) * @see PApplet#loadXML(String) @@ -5911,6 +5917,9 @@ public class PApplet extends Applet } + /** + * @param options may contain "header", "tsv", or "csv" separated by commas + */ public Table loadTable(String filename, String options) { try { String ext = checkExtension(filename); @@ -5932,11 +5941,21 @@ public class PApplet extends Applet } + /** + * @webref input:files + * @param table the Table object to save to a file + * @param filename the filename to which the Table should be saved + * @see PApplet#createTable() + * @see PApplet#loadTable(String) + */ public boolean saveTable(Table table, String filename) { return saveTable(table, filename, null); } + /** + * @param options may contain "header", "tsv", or "csv" separated by commas + */ public boolean saveTable(Table table, String filename, String options) { try { table.save(saveFile(filename), options);