src/Recipe.java
/**
     * Reads the existing recipe in the local directory.
     */
Reads the existing recipe in the local directory.
Reads the existing recipe in the local directory .
public static ArrayList < String > readFile() {
        ArrayList < String > FILE_TEXT = new ArrayList < > ();
        try (BufferedReader br = new BufferedReader(new FileReader("data\\recipe_data.txt"))) {
            String currentLine;
            /**
             * Reads each line of file, and adds current read line to "FILE_TEXT" list.
             */
            while ((currentLine = br.readLine()) != null) {
                FILE_TEXT.add(currentLine);
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
        return FILE_TEXT;
    }
public static ArrayList < String > readFile ( ) { ArrayList < String > FILE_TEXT = new ArrayList < > ( ) ; try ( BufferedReader br = new BufferedReader ( new FileReader ( "data\\recipe_data.txt" ) ) ) { String currentLine ; /**
             * Reads each line of file, and adds current read line to "FILE_TEXT" list.
             */ while ( ( currentLine = br . readLine ( ) ) != null ) { FILE_TEXT . add ( currentLine ) ; } } catch ( IOException e ) { e . printStackTrace ( ) ; } return FILE_TEXT ; }
Reads the existing recipe in the local directory.
Reads the existing recipe in the local directory .