|
|||||||||
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 java.lang.String |
ROLE
|
Method Summary | |
---|---|
java.lang.String |
readLine()
Read a single line of input, swalling the newline at the end. |
java.util.List |
readMultipleLines()
Read a set of lines. |
java.lang.String |
readPassword()
Read a single line of input, swalling the newline at the end. |
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
java.lang.String readLine() throws java.io.IOException
java.io.IOException
java.lang.String readPassword() throws java.io.IOException
java.io.IOException
java.util.List readMultipleLines() throws java.io.IOException
readLine()
.
Ends when an empty line is encountered.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |