MCPcopy Index your code
hub / github.com/apache/groovy / writeTo

Method writeTo

src/main/java/groovy/util/ConfigObject.java:103–113  ·  view source on GitHub ↗

Writes this config object into a String serialized representation which can later be parsed back using the parse() method @see groovy.lang.Writable#writeTo(java.io.Writer)

(Writer outArg)

Source from the content-addressed store, hash-verified

101 * @see groovy.lang.Writable#writeTo(java.io.Writer)
102 */
103 @Override
104 public Writer writeTo(Writer outArg) throws IOException {
105 BufferedWriter out = new BufferedWriter(outArg);
106 try {
107 writeConfig("", this, out, 0, false);
108 } finally {
109 out.flush();
110 }
111
112 return outArg;
113 }
114
115
116 /**

Callers 1

prettyPrintMethod · 0.95

Calls 2

writeConfigMethod · 0.95
flushMethod · 0.45

Tested by

no test coverage detected