Mercurial > hg > jslab
comparison src/samer/core_/Shell.java @ 1:5df24c91468d
Oh my what a mess.
author | samer |
---|---|
date | Fri, 05 Apr 2019 16:26:00 +0100 |
parents | bf79fb79ee13 |
children |
comparison
equal
deleted
inserted
replaced
0:bf79fb79ee13 | 1:5df24c91468d |
---|---|
429 | 429 |
430 class DefaultShell implements Shell.Interface | 430 class DefaultShell implements Shell.Interface |
431 { | 431 { |
432 private PrintWriter writer=null; | 432 private PrintWriter writer=null; |
433 private PrintWriter stdout=new PrintWriter(System.out,true); // with autoflush | 433 private PrintWriter stdout=new PrintWriter(System.out,true); // with autoflush |
434 private PrintWriter stderr=new PrintWriter(System.err); // without autoflush | 434 private PrintWriter stderr=new PrintWriter(System.err,true); // with autoflush |
435 | 435 |
436 // DefaultShell() { trace("creating DefaultShell"); } | 436 // DefaultShell() { trace("creating DefaultShell"); } |
437 | 437 |
438 // Different types of message | 438 // Different types of message |
439 public void print(String string) { stdout.println(string); } | 439 public void print(String string) { stdout.println(string); } |