|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object osdep.console.ConsoleHelper
public class ConsoleHelper
Common functions used to interact with the console
Constructor Summary | |
---|---|
ConsoleHelper()
|
Method Summary | |
---|---|
static java.lang.String |
request(java.lang.String question)
Requests a text value from the user |
static boolean |
requestYesNo(java.lang.String question)
Requests a Yes/No answer from the user. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleHelper()
Method Detail |
---|
public static java.lang.String request(java.lang.String question)
question
- a textual question to ask to the user
public static boolean requestYesNo(java.lang.String question)
question
- the question to ask the user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |