I have to create array lists of objects based on the information from a text file.
The text file structure is:
name1, attribute
name2, attribute2
In this case, I have to read the text file and create 2 array lists named "name1" and "name2" with their respective descriptions but the name of the array lists can change based on the text file used.
What would be a way to accomplish this ?
BufferedReader
, read lines, split at,
, trim items, add them to the correct array list... Godness, I told you more than I have should – wumm 19 hours ago