@Override
 public void println(String msg) {
   shell.write(msg + Config.getLineSeparator());
 }
Exemple #2
0
  public String printToTerminal() {
    StringBuilder builder = new StringBuilder();
    for (String s : out) builder.append(s).append(Config.getLineSeparator());

    return builder.toString();
  }