This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes IOException : bad file desciptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "IOException : bad file desciptor" Watch "IOException : bad file desciptor" New topic

IOException : bad file desciptor

Bobo Shante

Joined: Sep 02, 2001
Posts: 4
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
Ranch Hand

Joined: Mar 06, 2001
Posts: 123
I think you will find answer to your question in this
nice article
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: IOException : bad file desciptor
Similar Threads
Convert XSD to XML
Creating File
Java objects to XML, possibly using JAXB
File object question
Object Serialization