|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface InputHandler
Manage user input from different sources.
| Field Summary | |
|---|---|
static String |
ROLE
|
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
String readLine()
throws IOException
IOException
String readPassword()
throws IOException
IOException
List readMultipleLines()
throws IOException
readLine().
Ends when an empty line is encountered.
IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||