Search:

Type: Posts; User: andreas90

Search: Search took 0.18 seconds.

  1. Replies
    5
    Views
    1,861

    Re: Load ArrayList from file

    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...
  2. Replies
    5
    Views
    1,861

    Re: Load ArrayList from file

    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...
  3. Replies
    5
    Views
    1,861

    Re: Load ArrayList from file

    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...
Results 1 to 3 of 3