Class DataStreamIteratingEmulator
java.lang.Object
org.springframework.shell.test.jediterm.terminal.DataStreamIteratingEmulator
- All Implemented Interfaces:
Emulator
- Direct Known Subclasses:
JediEmulator
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDataStreamIteratingEmulator
(TerminalDataStream dataStream, Terminal terminal) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
void
next()
protected abstract void
processChar
(char ch, Terminal terminal) void
resetEof()
-
Field Details
-
myDataStream
-
myTerminal
-
-
Constructor Details
-
DataStreamIteratingEmulator
-
-
Method Details
-
hasNext
public boolean hasNext() -
resetEof
public void resetEof() -
next
- Specified by:
next
in interfaceEmulator
- Throws:
IOException
-
processChar
- Throws:
IOException
-