public class UnimplementedCommandInput extends CommandInput
| Constructor and Description |
|---|
UnimplementedCommandInput() |
| Modifier and Type | Method and Description |
|---|---|
String |
readLine()
Reads a single line from input.
|
String |
readMaskedString(String prompt)
Reads input without echoing back keyboard input.
|
closepublic String readLine() throws IOException
CommandInputreadLine in class CommandInputIOException - allows any communication error.public String readMaskedString(String prompt) throws IOException
CommandInputreadMaskedString in class CommandInputprompt - The full or partial input that user types.IOException - allows any communication error.Copyright © 2008–2022. All rights reserved.