示例#1
0
 @Override
 public void println(final String line) {
   if (line != null) {
     screenBuffer.write(line);
     screenBuffer.write((byte) '\n');
   }
 }
示例#2
0
 @Override
 public void println() {
   try {
     screenBuffer.write((byte) '\n');
     _flushBuffer();
   } catch (IOException e) {
     throw new RuntimeException(e);
   }
 }
示例#3
0
 @Override
 public void write(final byte[] b, final int offset, final int length) {
   screenBuffer.write(b, offset, length);
 }
示例#4
0
 @Override
 public void write(final byte[] b) {
   screenBuffer.write(b);
 }
示例#5
0
 @Override
 public synchronized void write(final byte b) {
   screenBuffer.write(b);
 }
示例#6
0
 @Override
 public void write(final int b) {
   screenBuffer.write(b);
 }
示例#7
0
 @Override
 public void print(final String output) {
   if (output != null) {
     screenBuffer.write(output);
   }
 }
示例#8
0
 /*
  * Shell Print Methods
  */
 @Override
 public void printlnVerbose(final String line) {
   if ((line != null) && isVerbose()) {
     screenBuffer.write((byte) '\n');
   }
 }