|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJunoTerminal
A Command line interface terminal for Juno.
| Constructor Summary | |
JunoTerminal(boolean echo)
Construct a JunoTerminal Allows for input echo, when, for example, input is redirected from a file. |
|
| Method Summary | |
void |
errPrintln(String str)
Write a String followed by a newline to console error output location. |
boolean |
isEchoInput()
Query what kind of console this is. |
boolean |
isGUI()
Query what kind of console this is. |
boolean |
isRemote()
Query what kind of console this is. |
void |
println(String str)
Write a String followed by a newline to console output location. |
String |
readLine(String promptString)
Read a line (terminated by a newline). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JunoTerminal(boolean echo)
echo - whether or not input should be echoed.| Method Detail |
public void errPrintln(String str)
errPrintln in interface OutputInterfacestr - - the String to writepublic boolean isEchoInput()
isEchoInput in interface OutputInterfacepublic boolean isGUI()
isGUI in interface OutputInterfacepublic boolean isRemote()
isRemote in interface OutputInterfacepublic void println(String str)
println in interface OutputInterfacestr - - the string to writepublic String readLine(String promptString)
readLine in interface InputInterfacepromptString - output string to prompt for input
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||