예제 #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();
 }