googleinterns / step108-2020

0 stars 1 forks source link

CSV Reading #9

Closed jeremy-weiss closed 4 years ago

jeremy-weiss commented 4 years ago

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.