@Override public void println(final String line) { if (line != null) { screenBuffer.write(line); screenBuffer.write((byte) '\n'); } }
@Override public void println() { try { screenBuffer.write((byte) '\n'); _flushBuffer(); } catch (IOException e) { throw new RuntimeException(e); } }
@Override public void write(final byte[] b, final int offset, final int length) { screenBuffer.write(b, offset, length); }
@Override public void write(final byte[] b) { screenBuffer.write(b); }
@Override public synchronized void write(final byte b) { screenBuffer.write(b); }
@Override public void write(final int b) { screenBuffer.write(b); }
/* * Shell Print Methods */ @Override public void printlnVerbose(final String line) { if ((line != null) && isVerbose()) { screenBuffer.write((byte) '\n'); } }
@Override public void print(final String output) { if (output != null) { screenBuffer.write(output); } }
@Override public void flush() { screenBuffer.flushBuffer(); }
@Override public void directWriteMode() { screenBuffer.directWriteMode(); }
@Override public void bufferingMode() { screenBuffer.bufferOnlyMode(); }
@Override public int getWidth() { return screenBuffer.getWidth(); }
@Override public int getHeight() { return screenBuffer.getHeight(); }