public interface InputHandler
Modifier and Type | Method and Description |
---|---|
String |
readLine()
Read a single line of input, swalling the newline at the end.
|
List |
readMultipleLines()
Read a set of lines.
|
String |
readPassword()
Read a single line of input, swalling the newline at the end.
|
static final String ROLE
String readLine() throws IOException
IOException
String readPassword() throws IOException
IOException
List readMultipleLines() throws IOException
readLine()
.
Ends when an empty line is encountered.IOException
Copyright © 2019. All rights reserved.