Module org.htmlunit.corejs
Class BasicConsoleProvider
java.lang.Object
org.htmlunit.corejs.javascript.tools.shell.BasicConsoleProvider
- All Implemented Interfaces:
ConsoleProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn whether the console is possible to use at allCreate the console.booleanReturn whether this console supports interactive command-line editing.
-
Constructor Details
-
BasicConsoleProvider
public BasicConsoleProvider()
-
-
Method Details
-
newConsole
Description copied from interface:ConsoleProviderCreate the console. Must not be called unless "isSupported" returned true.- Specified by:
newConsolein interfaceConsoleProvider
-
isSupported
public boolean isSupported()Return whether the console is possible to use at all- Specified by:
isSupportedin interfaceConsoleProvider
-
supportsEditing
public boolean supportsEditing()Description copied from interface:ConsoleProviderReturn whether this console supports interactive command-line editing.- Specified by:
supportsEditingin interfaceConsoleProvider
-