Lines Matching refs:out
32 private final Writer out;
83 * @param out {@code non-null;} writer to send final output to
88 public TwoColumnOutput(Writer out, int leftWidth, int rightWidth,
90 if (out == null) {
91 throw new NullPointerException("out == null");
109 this.out = out;
121 * @param out {@code non-null;} stream to send final output to
126 public TwoColumnOutput(OutputStream out, int leftWidth, int rightWidth,
128 this(new OutputStreamWriter(out), leftWidth, rightWidth, spacer);
184 out.write(leftBuf.substring(0, leftLen));
188 writeSpaces(out, leftWidth - leftLen);
189 out.write(rightBuf.substring(0, rightLen));
192 out.write('\n');
230 * @param out {@code non-null;} the writer to use
233 Writer out)
238 out.write('\n');
245 * @param out {@code non-null;} where to write
248 private static void writeSpaces(Writer out, int amt) throws IOException {
250 out.write(' ');