Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IOException : bad file desciptor

 
Bobo Shante
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a program in which I can read and write objects to a sequential file. I want to be able to write multiple objects. After which I want to read the objects back sequentially. what should I do to reposition the file pointer to the start of the file ? which stream do I need to close and open
 
pjoisha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you will find answer to your question in this
nice article
http://www.javaworld.com/javaworld/jw-05-1997/jw-05-persistence.html
Thanks,
PJ
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic