@Override
 public void writeNewLine(Status errorStatus) {
   if (this.isOpen()) {
     System.out.println();
   } else {
     errorStatus.setStatus("StandardOutputChannel", -1, "Not open");
   }
 }
 @Override
 public void writeString(String value, Status errorStatus) {
   if (this.isOpen()) {
     System.out.print(value);
   } else {
     errorStatus.setStatus("StandardOutputChannel", -1, "Not open");
   }
 }