Attach a console Note: this method is incomplete.
( ConsoleInterface console )
| 277 | Note: this method is incomplete. |
| 278 | */ |
| 279 | public void setConsole( ConsoleInterface console ) { |
| 280 | this.console = console; |
| 281 | setu( "bsh.console", console ); |
| 282 | // redundant with constructor |
| 283 | setOut( console.getOut() ); |
| 284 | setErr( console.getErr() ); |
| 285 | // need to set the input stream - reinit the parser? |
| 286 | } |
| 287 | |
| 288 | private void initRootSystemObject() |
| 289 | { |