Added a CSVToObj class that reads a CSV file into a list of objects and created team and schedule servlets that use it.
The method fromFile(filename, class) returns an ArrayList, however the class needs to have public variables whose names match the csv headers you want to extract. There is only partial error-checking, but I will probably update this to be more flexible later on.
Added a CSVToObj class that reads a CSV file into a list of objects and created team and schedule servlets that use it.
The method fromFile(filename, class) returns an ArrayList, however the class needs to have public variables whose names match the csv headers you want to extract. There is only partial error-checking, but I will probably update this to be more flexible later on.