bsh

Interface ConsoleInterface

Known Subinterfaces:
GUIConsoleInterface
Known Implementing Classes:
AWTConsole, Interpreter, JConsole

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

void
error(Object o)
PrintStream
getErr()
Reader
getIn()
PrintStream
getOut()
void
print(Object o)
void
println(Object o)

Method Details

error

public void error(Object o)

getErr

public PrintStream getErr()

getIn

public Reader getIn()

getOut

public PrintStream getOut()

print

public void print(Object o)

println

public void println(Object o)

B) 2000-2005 pat@pat.net :-)