Class TrainHubMain

java.lang.Object
  extended by TrainHubMain

public class TrainHubMain
extends java.lang.Object

This class is the main class and it provides the user interface between users and the TrainHub object. DO NOT EDIT OR HAND IN THIS FILE

See Also:
TrainHub

Constructor Summary
TrainHubMain()
           
 
Method Summary
static void main(java.lang.String[] args)
          [DO NOT MODIFY THIS METHOD] The main method of this project assignment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrainHubMain

public TrainHubMain()
Method Detail

main

public static void main(java.lang.String[] args)
[DO NOT MODIFY THIS METHOD] The main method of this project assignment. 1. Initialize TrainHub object. 2. Parse arguments. If there are arguments with the right format, load trains from files 3. Display menu and call appropriate methods from console inputs.