public class StudentCenter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.List<Course> |
courseList |
private static int |
DEFAULT_POINTS |
private static java.util.List<Student> |
studentList |
Constructor and Description |
---|
StudentCenter() |
Modifier and Type | Method and Description |
---|---|
static void |
generateAndWriteResults(java.lang.String fileName1,
java.lang.String fileName2) |
private static Course |
getCourseFromCourseList(java.lang.String courseCode)
Look up Course from classCode
|
static void |
main(java.lang.String[] args) |
static boolean |
readData(java.lang.String fileName) |
private static int DEFAULT_POINTS
private static java.util.List<Course> courseList
private static java.util.List<Student> studentList
public static void main(java.lang.String[] args)
public static boolean readData(java.lang.String fileName)
fileName
- - input file. Has 3 sections - #Points/Student, #Courses, and
multiple #Student sections. See P3 page for more details.public static void generateAndWriteResults(java.lang.String fileName1, java.lang.String fileName2)
fileName1
- - output file with a line for each coursefileName2
- - output file with a line for each studentprivate static Course getCourseFromCourseList(java.lang.String courseCode)
courseCode
-