Example #1
0
  @Override
  public void write(byte b[], int off, int len) {
    String str = new String(b, off, len);

    controller.display(str);
  }
Example #2
0
  @Override
  public void write(byte b[]) throws IOException {
    String str = new String(b);

    controller.display(str);
  }