public class ConsoleRemoteControl extends AbstractTextRemoteControl
| Constructor and Description |
|---|
ConsoleRemoteControl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
readLine()
Returns the next line entered by the user.
|
void |
writeLine(String line)
Writes a line to the output that is to made visible to the user.
|
getSongContext, run, setSongContextpublic String readLine()
TextRemoteControlpublic void writeLine(String line)
TextRemoteControlline - the string to write