Class WinExternalTerminal
java.lang.Object
org.aesh.terminal.tty.impl.AbstractTerminal
org.aesh.terminal.tty.impl.LineDisciplineTerminal
org.aesh.terminal.tty.impl.ExternalTerminal
org.aesh.terminal.tty.impl.WinExternalTerminal
- All Implemented Interfaces:
Closeable, AutoCloseable, Terminal
Windows-specific external terminal implementation with CR/LF handling.
- Author:
- Stale W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from interface Terminal
Terminal.SignalHandler -
Field Summary
Fields inherited from class ExternalTerminal
masterInputFields inherited from class LineDisciplineTerminal
attributes, masterOutput, size, slaveInput, slaveInputPipe, slaveOutput -
Constructor Summary
ConstructorsConstructorDescriptionWinExternalTerminal(String name, String type, InputStream masterInput, OutputStream masterOutput) Create a new Windows external terminal. -
Method Summary
Methods inherited from class ExternalTerminal
close, pumpMethods inherited from class LineDisciplineTerminal
closeSlaveInputPipe, getAttributes, getSize, input, output, processInputByte, processInputBytes, processInputBytes, processInputBytes, processOutputByte, raise, setAttributesMethods inherited from class AbstractTerminal
device, echo, echo, echoSignal, getName, getType, handle, handleDefaultSignalMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Terminal
getCodePointConsumer
-
Constructor Details
-
WinExternalTerminal
public WinExternalTerminal(String name, String type, InputStream masterInput, OutputStream masterOutput) throws IOException Create a new Windows external terminal.- Parameters:
name- the terminal nametype- the terminal typemasterInput- the master input streammasterOutput- the master output stream- Throws:
IOException- if an I/O error occurs
-