Package org.beryx.textio.jline
Class JLineTextTerminalProvider
- java.lang.Object
-
- org.beryx.textio.jline.JLineTextTerminalProvider
-
- All Implemented Interfaces:
TextTerminalProvider
public class JLineTextTerminalProvider extends java.lang.Object implements TextTerminalProvider
IfSystem.console()
is not null and a ConsoleReader can be created, it provides aJLineTextTerminal
.
-
-
Constructor Summary
Constructors Constructor Description JLineTextTerminalProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JLineTextTerminal
getTextTerminal()
java.lang.String
toString()
-
-
-
Method Detail
-
getTextTerminal
public JLineTextTerminal getTextTerminal()
- Specified by:
getTextTerminal
in interfaceTextTerminalProvider
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-