Class TtyBasedArrayDataStream
java.lang.Object
org.springframework.shell.test.jediterm.terminal.ArrayTerminalDataStream
org.springframework.shell.test.jediterm.terminal.TtyBasedArrayDataStream
- All Implemented Interfaces:
TerminalDataStream
Takes data from and sends it back to TTY input and output streams via
TtyConnector
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.shell.test.jediterm.terminal.TerminalDataStream
TerminalDataStream.EOF
-
Field Summary
Fields inherited from class org.springframework.shell.test.jediterm.terminal.ArrayTerminalDataStream
buf, length, offset
-
Constructor Summary
ConstructorDescriptionTtyBasedArrayDataStream
(TtyConnector ttyConnector) TtyBasedArrayDataStream
(TtyConnector ttyConnector, Runnable onBeforeBlockingWait) -
Method Summary
Modifier and TypeMethodDescriptionchar
getChar()
readNonControlCharacters
(int maxChars) toString()
Methods inherited from class org.springframework.shell.test.jediterm.terminal.ArrayTerminalDataStream
isEmpty, pushBackBuffer, pushChar
-
Constructor Details
-
TtyBasedArrayDataStream
-
TtyBasedArrayDataStream
-
-
Method Details
-
getChar
- Specified by:
getChar
in interfaceTerminalDataStream
- Overrides:
getChar
in classArrayTerminalDataStream
- Throws:
IOException
-
readNonControlCharacters
- Specified by:
readNonControlCharacters
in interfaceTerminalDataStream
- Overrides:
readNonControlCharacters
in classArrayTerminalDataStream
- Throws:
IOException
-
toString
-