Class AbstractTerminals
java.lang.Object
net.rubygrapefruit.platform.internal.AbstractTerminals
- All Implemented Interfaces:
NativeIntegration
,Terminals
- Direct Known Subclasses:
TerminfoTerminals
,WindowsTerminals
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.rubygrapefruit.platform.Terminals
Terminals.Output
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractTerminal
createTerminal
(Terminals.Output output) getTerminal
(Terminals.Output output) Returns the terminal attached to the given output.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.rubygrapefruit.platform.Terminals
isTerminal
-
Constructor Details
-
AbstractTerminals
public AbstractTerminals()
-
-
Method Details
-
getTerminal
Description copied from interface:Terminals
Returns the terminal attached to the given output.- Specified by:
getTerminal
in interfaceTerminals
- Returns:
- The terminal. Never returns null.
-
createTerminal
-