|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectLoginInterpreter
Interpreter for Juno login commands. There are so few commands that if-then-else logic is OK.
| Constructor Summary | |
LoginInterpreter(Juno system,
OutputInterface console)
Construct a new LoginInterpreter for interpreting login commands. |
|
| Method Summary | |
void |
CLILogin()
Simulates behavior at login: prompt. |
boolean |
interpret(String inputLine)
Parse user's command line and dispatch appropriate semantic action. |
void |
setConsole(OutputInterface console)
Set the console for this interpreter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoginInterpreter(Juno system,
OutputInterface console)
system - the system creating this interpreter.console - the Terminal used for input and output.| Method Detail |
public void CLILogin()
public boolean interpret(String inputLine)
interpret in interface InterpreterInterfaceinputLine - the User's instructions.
public void setConsole(OutputInterface console)
console - the Terminal to be used for input and output.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||