MCPcopy Create free account
hub / github.com/beanshell/beanshell / inPipeWatcher

Method inPipeWatcher

src/bsh/util/JConsole.java:654–663  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

652 }
653
654 private void inPipeWatcher() throws IOException {
655 byte [] ba = new byte [256]; // arbitrary blocking factor
656 int read;
657 while ( (read = inPipe.read(ba)) != -1 ) {
658 print( new String(ba, 0, read) );
659 //text.repaint();
660 }
661
662 println("Console: Input closed...");
663 }
664
665 public void run() {
666 try {

Callers 1

runMethod · 0.95

Calls 3

printMethod · 0.95
printlnMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected