aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "IOException : bad file desciptor" Watch "IOException : bad file desciptor" New topic
Author

IOException : bad file desciptor

Bobo Shante
Greenhorn

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
pjoisha
Ranch Hand

Joined: Mar 06, 2001
Posts: 123
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IOException : bad file desciptor
 
Similar Threads
Creating File
File object question
Object Serialization
Java objects to XML, possibly using JAXB
Convert XSD to XML