• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataOutputStream use.

 
Paul Howells
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

My project says about the Data file format, "All numeric values are stored in the header information use the formats of the DataInputStream and DataOutputStream classes".

Do you think this means I must use those classes for reading and writing the DB file?

If I have to use those classes is there a way to mark a record as deleted without re-writing the file?

Can I use the RandomAccessFile class?

Thanks
 
Jay Ashar
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can use RandomAccessFile, lot of people are using this API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic