public void output(int b) throws IOException { output(new byte[] {(byte) b}); }
public void output(final String s) throws IOException { if (s == null) { throw new IllegalArgumentException("Output may not be null"); } output(s.getBytes()); }
public void write(byte[] b) throws IOException { this.out.write(b); if (this.wire.enabled()) { this.wire.output(b); } }
public void write(int b) throws IOException { this.out.write(b); if (this.wire.enabled()) { this.wire.output(b); } }
public void write(byte[] b, int off, int len) throws IOException { this.out.write(b, off, len); if (this.wire.enabled()) { this.wire.output(b, off, len); } }
public void writeLine(final String s) throws IOException { this.out.writeLine(s); if (this.wire.enabled()) { this.wire.output(s + "[EOL]"); } }
public void writeLine(final CharArrayBuffer buffer) throws IOException { this.out.writeLine(buffer); if (this.wire.enabled()) { String s = new String(buffer.buffer(), 0, buffer.length()); this.wire.output(s + "[EOL]"); } }
public void output(final String s) throws IOException { if (s == null) { throw new IllegalArgumentException("Output may not be null"); } output(s.getBytes()); }
@Override public void flush() throws IOException { try { out.flush(); } catch (final IOException ex) { wire.output("[flush] I/O error: " + ex.getMessage()); throw ex; } }
public void output(final String s) throws IOException { Args.notNull(s, "Output"); output(s.getBytes()); }
public void output(final String s) throws IOException { Args.notNull(s, "Output"); output(s.getBytes()); }
public void write(final int b) throws IOException { this.out.write(b); if (this.wire.enabled()) { this.wire.output(b); } }
public void write(final byte[] b) throws IOException { this.out.write(b); if (this.wire.enabled()) { this.wire.output(b); } }
public void writeLine(final String s) throws IOException { this.out.writeLine(s); if (this.wire.enabled()) { this.wire.output(s + "[EOL]"); } }
public void write(byte[] b, int off, int len) throws IOException { this.out.write(b, off, len); if (this.wire.enabled()) { this.wire.output(b, off, len); } }
public void write(int b) throws IOException { this.out.write(b); if (this.wire.enabled()) { this.wire.output(b); } }
public void writeLine(final CharArrayBuffer buffer) throws IOException { this.out.writeLine(buffer); if (this.wire.enabled()) { String s = new String(buffer.buffer(), 0, buffer.length()); this.wire.output(s + "[EOL]"); } }
public void writeLine(final CharArrayBuffer buffer) throws IOException { this.out.writeLine(buffer); if (this.wire.enabled()) { String s = new String(buffer.buffer(), 0, buffer.length()); this.wire.output(s + "[EOL]"); } }