bsh

Interface ConsoleInterface

public interface ConsoleInterface

The capabilities of a minimal console for BeanShell. Stream I/O and optimized print for output. A simple console may ignore some of these or map them to trivial implementations. e.g. print() with color can be mapped to plain text.

See Also: GUIConsoleInterface

Method Summary
voiderror(String s)
PrintStreamgetErr()
ReadergetIn()
PrintStreamgetOut()
voidprint(String s)
voidprintln(String s)

Method Detail

error

public void error(String s)

getErr

public PrintStream getErr()

getIn

public Reader getIn()

getOut

public PrintStream getOut()

print

public void print(String s)

println

public void println(String s)
B) 2000 pat@pat.net :-)