Lines Matching defs:writer
55 // the writer that writes to the output stream
56 private Writer writer;
58 // the flag indicating whether the writer has been initialized
69 this.writer = null;
95 this.writer = null;
124 // initialize the writer
128 this.writer = new OutputStreamWriter(this.os);
131 this.writer = new OutputStreamWriter(this.os, getEncoding());
145 this.writer.write(s);
183 this.writer = null;
206 // renew writer only if the writer exists
207 if (null != this.writer) {
209 this.writer = new OutputStreamWriter(this.os);
212 this.writer = new OutputStreamWriter(this.os, getEncoding());
238 this.writer.flush();
240 this.writer.close();
241 this.writer = null;
275 if (null != this.writer) {
276 this.writer.flush();