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

Method save

app/src/processing/app/Settings.java:104–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103
104 public void save() {
105 PrintWriter writer = PApplet.createWriter(file);
106
107 for (String key : table.keySet()) {
108 writer.println(key + "=" + table.get(key));
109 }
110
111 writer.flush();
112 writer.close();
113 }
114
115
116 public String get(String attribute) {

Callers 1

saveModeSettingsMethod · 0.95

Calls 5

createWriterMethod · 0.95
getMethod · 0.65
printlnMethod · 0.45
flushMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected