MCPcopy Index your code
hub / github.com/arduino/Arduino / createOutput

Method createOutput

arduino-core/src/processing/app/legacy/PApplet.java:623–625  ·  view source on GitHub ↗

Similar to createInput() (formerly openStream), this creates a Java OutputStream for a given filename or path. The file will be created in the sketch folder, or in the same folder as an exported application. If the path does not exist, intermediate folders will be created. If an exception occur

(String filename)

Source from the content-addressed store, hash-verified

621 * other file functions like createWriter). Who you callin' bloated?
622 */
623 public OutputStream createOutput(String filename) {
624 return createOutput(saveFile(filename));
625 }
626
627
628 static public OutputStream createOutput(File file) {

Callers 1

saveStringsMethod · 0.95

Calls 4

saveFileMethod · 0.95
createPathMethod · 0.95
printStackTraceMethod · 0.80
getNameMethod · 0.65

Tested by

no test coverage detected