Interface CommandLineConsole
- All Known Implementing Classes:
SystemConsole
,TestableConsole
public interface CommandLineConsole
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static CommandLineConsole.Prompt
default boolean
readBoolean
(CommandLineConsole.Prompt prompt) default int
readInt
(CommandLineConsole.Prompt prompt) readLine
(CommandLineConsole.Prompt prompt) char[]
-
Method Details
-
readLine
- Throws:
ConsoleException
-
readPassword
- Throws:
ConsoleException
-
readBoolean
-
readInt
-
printLine
-
prompt
-