src/Recipe.java
/**
     * The beginTrail() method
     * - Responsible for the program's flow.
     */
The beginTrail() method
- Responsible for the program's flow.
The beginTrail () method - Responsible for the program ' s flow .
public static void beginTrail() throws IOException {
        System.out.println("[A453 Programming Project - Task Two: Recipe]");
        sleep(2);
        System.out.println("What is your name?");
        System.out.println(handleInputs(STAGES.NAME));
        sleep(1);
        System.out.println("Checking for an existing recipe...");
        sleep(3);
        System.out.println(handleInputs(STAGES.READ_WRITE));
        sleep(1);
        System.out.println("\nPlease enter the name of the recipe you'd like to store:");
        System.out.println(handleInputs(STAGES.RECIPE_NAME));
        sleep(2);
        System.out.println("Now, please enter the number of people you are serving for.");
        System.out.println(handleInputs(STAGES.NO_OF_PEOPLE));
        sleep(1);
        System.out.println("Now you've named your recipe, and chosen how many people you are serving for...");
        sleep(1);
        System.out.println("You will now need to enter the ingredients used for your recipe.");
        sleep(1);
        System.out.println("When you are finished naming all of your ingredients, simply enter 'DONE'.\n");
        sleep(1);
        System.out.println(handleInputs(STAGES.INGREDIENTS_LIST));
        sleep(1);
        System.out.println("Now you need to specify the amount of each ingredient you are going to use in your recipe.");
        sleep(1);
        System.out.println(handleInputs(STAGES.AMOUNTS_LIST));
        sleep(1);
        System.out.println("Now you need to specify the unit for each ingredient you are going to use in your recipe.");
        sleep(1);
        System.out.println(handleInputs(STAGES.UNITS_LIST));
        sleep(1);
        System.out.println(handleInputs(STAGES.RECIPE_SAVING));
        sleep(1);
        saveRecipe();
    }
public static void beginTrail ( ) throws IOException { System . out . println ( "[A453 Programming Project - Task Two: Recipe]" ) ; sleep ( 2 ) ; System . out . println ( "What is your name?" ) ; System . out . println ( handleInputs ( STAGES . NAME ) ) ; sleep ( 1 ) ; System . out . println ( "Checking for an existing recipe..." ) ; sleep ( 3 ) ; System . out . println ( handleInputs ( STAGES . READ_WRITE ) ) ; sleep ( 1 ) ; System . out . println ( "\nPlease enter the name of the recipe you'd like to store:" ) ; System . out . println ( handleInputs ( STAGES . RECIPE_NAME ) ) ; sleep ( 2 ) ; System . out . println ( "Now, please enter the number of people you are serving for." ) ; System . out . println ( handleInputs ( STAGES . NO_OF_PEOPLE ) ) ; sleep ( 1 ) ; System . out . println ( "Now you've named your recipe, and chosen how many people you are serving for..." ) ; sleep ( 1 ) ; System . out . println ( "You will now need to enter the ingredients used for your recipe." ) ; sleep ( 1 ) ; System . out . println ( "When you are finished naming all of your ingredients, simply enter 'DONE'.\n" ) ; sleep ( 1 ) ; System . out . println ( handleInputs ( STAGES . INGREDIENTS_LIST ) ) ; sleep ( 1 ) ; System . out . println ( "Now you need to specify the amount of each ingredient you are going to use in your recipe." ) ; sleep ( 1 ) ; System . out . println ( handleInputs ( STAGES . AMOUNTS_LIST ) ) ; sleep ( 1 ) ; System . out . println ( "Now you need to specify the unit for each ingredient you are going to use in your recipe." ) ; sleep ( 1 ) ; System . out . println ( handleInputs ( STAGES . UNITS_LIST ) ) ; sleep ( 1 ) ; System . out . println ( handleInputs ( STAGES . RECIPE_SAVING ) ) ; sleep ( 1 ) ; saveRecipe ( ) ; }
The beginTrail() method
 - Responsible for the program's flow.
The beginTrail () method - Responsible for the program ' s flow .