Package org.beryx.textio.console
Class ConsoleTextTerminalProvider
- java.lang.Object
-
- org.beryx.textio.console.ConsoleTextTerminalProvider
-
- All Implemented Interfaces:
TextTerminalProvider
public class ConsoleTextTerminalProvider extends java.lang.Object implements TextTerminalProvider
IfSystem.console()
is not null, it provides aConsoleTextTerminal
.
-
-
Constructor Summary
Constructors Constructor Description ConsoleTextTerminalProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextTerminal<?>
getTextTerminal()
java.lang.String
toString()
-
-
-
Method Detail
-
getTextTerminal
public TextTerminal<?> getTextTerminal()
- Specified by:
getTextTerminal
in interfaceTextTerminalProvider
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-