Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ArrayList - read/write textfile

 
Justin Sotar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I have written a program that uses an arraylist to store data. This data is inputted into a record and then the record is stored at each spot in the arraylist. Therefore, each spot in the arraylist contains a record with several types of data.
What I need to do is read and write the arraylist so that the data can be read in and saved accordingly at the beginning and end of the program. I am not sure how to go about doing this, and was wondering if someone had an idea. I appriciate any ideas or help. Thanks!
 
Marcus Laubli
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Justin,

Take a look at the Tokenizer class. I think that might help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic