Skip to content
Snippets Groups Projects
Commit cbd02809 authored by Simon Barrett's avatar Simon Barrett
Browse files

Final Refactor of LessonReader

parent eac60ffe
Branches
No related tags found
No related merge requests found
......@@ -6,6 +6,15 @@ import java.util.Scanner;
public class LessonReader {
/*
This class reads a text file and creates a lesson from it. The text file needs to be a certain structure. The structure
is clearly defined in the ReadMe. This class has been designed so that the quiz for a lesson can have a variable amount
of questions and these questions can have a variable amount of answers related to them.
Please Note: If the Text File is not written how it's specified in the ReadMe this class may fail. However, it does
have fall back values so that the user will see that the lesson has not been inputted correctly.
*/
/**
* Converts a text file to an ArrayList<String> line by line, each line being a new entry
* @param fileName In the form "fileName.txt"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment