Package 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 Detail

      • getIn

        java.io.Reader getIn()
      • getOut

        java.io.PrintStream getOut()
      • getErr

        java.io.PrintStream getErr()
      • println

        void println​(java.lang.Object o)
      • print

        void print​(java.lang.Object o)
      • error

        void error​(java.lang.Object o)