Class BasicConsoleProvider

java.lang.Object
org.htmlunit.corejs.javascript.tools.shell.BasicConsoleProvider
All Implemented Interfaces:
ConsoleProvider

public class BasicConsoleProvider extends Object implements ConsoleProvider
  • Constructor Details

    • BasicConsoleProvider

      public BasicConsoleProvider()
  • Method Details

    • newConsole

      public Console newConsole()
      Description copied from interface: ConsoleProvider
      Create the console. Must not be called unless "isSupported" returned true.
      Specified by:
      newConsole in interface ConsoleProvider
    • isSupported

      public boolean isSupported()
      Return whether the console is possible to use at all
      Specified by:
      isSupported in interface ConsoleProvider
    • supportsEditing

      public boolean supportsEditing()
      Description copied from interface: ConsoleProvider
      Return whether this console supports interactive command-line editing.
      Specified by:
      supportsEditing in interface ConsoleProvider