java.lang.ObjectProsperoApp
public class ProsperoApp
ProsperoApp simulates Prospero's waiting room. Prospero greets visitors and places them into the waiting room. He also retrieves the next visitor to see the king The visitor is chosen in order of gift size. Prospero may also print the waiting list and clear the waiting room of visitors.
| Constructor Summary | |
|---|---|
ProsperoApp()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Launches Prospero Assistant program using the desired source of user input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProsperoApp()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException
args - Any non-empty argument will be interpreted as the name of
a file in the same directory as the program that contains the
user input data.
java.io.FileNotFoundException - if the file isn't found.