MCPcopy Index your code
hub / github.com/processing/processing / saveStream

Method saveStream

core/src/processing/core/PApplet.java:7706–7708  ·  view source on GitHub ↗

( begin auto-generated from saveStream.xml ) Save the contents of a stream to a file in the sketch folder. This is basically saveBytes(blah, loadBytes()) , but done more efficiently (and with less confusing syntax). When using the targetFile parameter, it writes to a Fi

(String target, String source)

Source from the content-addressed store, hash-verified

7704 * @see PApplet#createOutput(String)
7705 */
7706 public boolean saveStream(String target, String source) {
7707 return saveStream(saveFile(target), source);
7708 }
7709
7710 /**
7711 * Identical to the other saveStream(), but writes to a File

Callers 6

JAppleMenuBarClass · 0.95
gzipEncodeMethod · 0.95
addClassesMethod · 0.95
addDataFolderMethod · 0.95
runMethod · 0.80

Calls 12

saveFileMethod · 0.95
createInputRawMethod · 0.95
createPathMethod · 0.95
createTempFileMethod · 0.95
deleteMethod · 0.80
renameToMethod · 0.80
writeMethod · 0.65
closeMethod · 0.45
printlnMethod · 0.45
printStackTraceMethod · 0.45
readMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected