• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serializable

 
Rebecca Witmer
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a class to integrate with someone else's code. I want the Vector it returns to be written out to a file so that she and I can get at the data. She's done that with a Vector in her code but I can't find where in the code she did it. It's a very large spaghetti-like project. Can someone tell me the story of serializable? How does that work? What is it supposed to be used to do? Is it really meant for writing stuff to files, then getting the data back again? Where can I find a good example?
 
Jeff Bosch
Ranch Hand
Posts: 805
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's the Sun Java Tutorial on Serializing Objects. It has all you're looking for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic