示例#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
 /*
  * Shell Print Methods
  */
 @Override
 public void printlnVerbose(final String line) {
   if ((line != null) && isVerbose()) {
     screenBuffer.write((byte) '\n');
   }
 }
示例#8
0
 @Override
 public void print(final String output) {
   if (output != null) {
     screenBuffer.write(output);
   }
 }
示例#9
0
 @Override
 public void flush() {
   screenBuffer.flushBuffer();
 }
示例#10
0
 @Override
 public void directWriteMode() {
   screenBuffer.directWriteMode();
 }
示例#11
0
 @Override
 public void bufferingMode() {
   screenBuffer.bufferOnlyMode();
 }
示例#12
0
 @Override
 public int getWidth() {
   return screenBuffer.getWidth();
 }
示例#13
0
 @Override
 public int getHeight() {
   return screenBuffer.getHeight();
 }