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 Terminals
Terminals.Output -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractTerminalcreateTerminal(Terminals.Output output) getTerminal(Terminals.Output output) Returns the terminal attached to the given output.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Terminals
isTerminal
-
Constructor Details
-
AbstractTerminals
public AbstractTerminals()
-
-
Method Details
-
getTerminal
Description copied from interface:TerminalsReturns the terminal attached to the given output.- Specified by:
getTerminalin interfaceTerminals- Returns:
- The terminal. Never returns null.
-
createTerminal
-