java.lang.Object ProsperoConsole
public class ProsperoConsole
ProsperoConsole is a text-based user interface for the application. All input/output with the user occurs here. No actual data manipulation happens here.
Constructor Summary | |
---|---|
ProsperoConsole(java.io.Reader rdr,
java.io.Writer wtr)
Constructs the console view of the application. |
Method Summary | |
---|---|
void |
run()
Run the console user interface, obtaining commands from the specified Reader, and displaying results on the specified Writer until a "q" for quit is encountered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProsperoConsole(java.io.Reader rdr, java.io.Writer wtr) throws java.io.IOException
rdr
- a Reader from which to read the user's input,
usually System.in
wtr
- a Writer to which to display the output,
usually System.out
java.io.IOException
Method Detail |
---|
public void run()