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

Method createWriter

core/src/processing/core/PApplet.java:6208–6210  ·  view source on GitHub ↗

Creates a new file in the sketch folder, and a PrintWriter object to write to it. For the file to be made correctly, it should be flushed and must be closed with its flush() and close() methods (see above example). Starting with Processing release 0134, all files loa

(String filename)

Source from the content-addressed store, hash-verified

6206 * @see BufferedReader
6207 */
6208 public PrintWriter createWriter(String filename) {
6209 return createWriter(saveFile(filename));
6210 }
6211
6212
6213 /**

Callers 15

saveStringsMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95

Calls 3

saveFileMethod · 0.95
createPathMethod · 0.95
getNameMethod · 0.45

Tested by

no test coverage detected