Did you try the split method? As I told you in post#2, it will give you the attributes (Strings) from which you will be able to create a new CD object and store it in your ArrayList.
If you play...
Type: Posts; User: andreas90
Did you try the split method? As I told you in post#2, it will give you the attributes (Strings) from which you will be able to create a new CD object and store it in your ArrayList.
If you play...
You can store in each line of the textfile the CD's artist and title separated with whatever separator you want and then use that separator in your split method. Just read the javadoc and you will...
Hello dcdude!
Can you give us more information of what does the textfile look like? If one row corresponds to one CD item and the CD's attributes (artist name, etc.) are somehow separated (ie with...