|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserTerminal
An interface that represents a terminal that is asked questions in human and machine understandable terms, and sends answers. This interface is intended for an interface in which the user is asked questions, or for an automated tool.
Method Summary | |
---|---|
int |
ask(String question,
String[] options,
int default_answer)
Asks the user a question from the 'question' string. |
void |
print(String str)
Outputs a string of information to the terminal. |
void |
println(String str)
Outputs a string of information and a newline to the terminal. |
Method Detail |
---|
void print(String str)
void println(String str)
int ask(String question, String[] options, int default_answer)
|
Mobios v0.91 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |