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)
| 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 | /** |
no test coverage detected