How to read a CSV file from java urcap

I need to read a CSV file and save the name and value of variables.
How can I do this?

Just give this a quick Google, it’s not specific to the UR at all. Whatever Java implementation you use will work for a CAP. So just look for a generic CSV file read. You’re definitely not the first person to need to do this, so you shouldn’t have much trouble finding something that works. (here’s the first result I found https://www.baeldung.com/java-csv-file-array)

Thank you for help! Have a nice a day!