Class ProsperoApp

java.lang.Object
  extended by ProsperoApp

public class ProsperoApp
extends java.lang.Object

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.

Author:
J. Dalbey 10/2009

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

ProsperoApp

public ProsperoApp()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException
Launches Prospero Assistant program using the desired source of user input. The default is to accept user input from System.in.

Parameters:
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.
Throws:
java.io.FileNotFoundException - if the file isn't found.