Returns a path inside the applet folder to save to. Like sketchPath(), but creates any in-between folders so that things save properly. All saveXxxx() functions use the path to the sketch folder, rather than its data folder. Once exported, the data folder will be found inside the jar file of th
(String where)
| 592 | * use <TT>saveXxxx("data/blah.dat")</TT>. |
| 593 | */ |
| 594 | public String savePath(String where) { |
| 595 | if (where == null) return null; |
| 596 | String filename = sketchPath(where); |
| 597 | createPath(filename); |
| 598 | return filename; |
| 599 | } |
| 600 | |
| 601 | |
| 602 | /** |
no test coverage detected