bsh
Interface ConsoleInterface

All Known Subinterfaces:
GUIConsoleInterface
All 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(java.lang.String s)
           
 java.io.PrintStream getErr()
           
 java.io.Reader getIn()
           
 java.io.PrintStream getOut()
           
 void print(java.lang.String s)
           
 void println(java.lang.String s)
           
 

Method Detail

getIn

public java.io.Reader getIn()

getOut

public java.io.PrintStream getOut()

getErr

public java.io.PrintStream getErr()

println

public void println(java.lang.String s)

print

public void print(java.lang.String s)

error

public void error(java.lang.String s)


2000 pat@pat.net :-)