Class RingoShell


  • public class RingoShell
    extends java.lang.Object
    RingoShell is a simple interactive shell that provides the additional global functions implemented by Ringo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void printError​(java.lang.Exception ex, java.io.PrintStream out, boolean verbose)  
      protected void printResult​(java.lang.Object result, java.io.PrintStream out)  
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RingoShell

        public RingoShell​(RhinoEngine engine)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • RingoShell

        public RingoShell​(RhinoEngine engine,
                          java.nio.file.Path history,
                          boolean silent)
                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • run

        public void run()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • printResult

        protected void printResult​(java.lang.Object result,
                                   java.io.PrintStream out)
      • printError

        protected void printError​(java.lang.Exception ex,
                                  java.io.PrintStream out,
                                  boolean verbose)