MCPcopy Index your code
hub / github.com/beanshell/beanshell / setConsole

Method setConsole

src/bsh/Interpreter.java:279–286  ·  view source on GitHub ↗

Attach a console Note: this method is incomplete.

( ConsoleInterface console )

Source from the content-addressed store, hash-verified

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 {

Callers 1

InterpreterMethod · 0.95

Calls 5

setuMethod · 0.95
setOutMethod · 0.95
setErrMethod · 0.95
getOutMethod · 0.65
getErrMethod · 0.65

Tested by

no test coverage detected