NativeIntegrationAbstractTerminals, TerminfoTerminals, WindowsTerminalspublic interface Terminals extends NativeIntegration
On UNIX based platforms, this provides access to the terminal. On Windows platforms, this provides access to the console.
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
Terminals.Output |
System outputs.
|
| Modifier and Type | Method | Description |
|---|---|---|
Terminal |
getTerminal(Terminals.Output output) |
Returns the terminal attached to the given output.
|
boolean |
isTerminal(Terminals.Output output) |
Returns true if the given output is attached to a terminal.
|
boolean isTerminal(Terminals.Output output) throws NativeException
NativeException - On failure.Terminal getTerminal(Terminals.Output output) throws NativeException
NativeException - When the output is not attached to a terminal.