Loading and editing a CSV file in Java into a List<Class> : i'm working on a private project where i need to load a CSV file, keep it in the program and edit if needed.
The file looks like this:

    ID;Name;Last Login;RevState;List
    157;Guy;"01.11.19";false;"tag, cup, sting"
    A60;Dud;"07.10.19";true;"ice, wood, cup, tag"
    1D5;Wilfred;"11.11.19";true;"beer, food, cup, shower"

I will only ever have a single csv file loaded. I need to be able to edit every single data point. I need to be able to retrieve all the information of one "cathegory", e.g. get all names.

So what i plan to do is load the CSV via

    Scanner scanner = new Scanner(new File(file.csv))

Create a class that holds the information of a line

    public class User 
        private String id;
        private String name;
        private String lastLogin;
        private String list;
        public getter and setter methods

Create a list

    private List<User> csvList = new List<User>();

And then store every line as

    while (file.hasLine())
        [...] parse the line
        User user = new User(id, name, lastLogin, list);
        csvList.add(user);

Would this work, or is there a better method that i can't think of right now? I appreciate your input!