MCPcopy Index your code
hub / github.com/benfry/processing4 / savePath

Method savePath

core/src/processing/core/PApplet.java:7252–7257  ·  view source on GitHub ↗

Returns a path adjacent the application 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)

Source from the content-addressed store, hash-verified

7250 * use <TT>saveXxxx("data/blah.dat")</TT>.
7251 */
7252 public String savePath(String where) {
7253 if (where == null) return null;
7254 String filename = sketchPath(where);
7255 createPath(filename);
7256 return filename;
7257 }
7258
7259
7260 /**

Callers 5

makeGraphicsMethod · 0.95
saveMethod · 0.95
saveFrameMethod · 0.95
saveFileMethod · 0.95
saveMethod · 0.80

Calls 2

sketchPathMethod · 0.95
createPathMethod · 0.95

Tested by

no test coverage detected