Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customized deserialization

sreek, Thiru
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is there any mechanism in java, which enables us to browse into a serialized file and deserialize a specific object???
I some how stored the offsets of diff objects in the serialized file. but when i try to skip through the ObjectInputStream while deserializing it gives me stream corrupted Exception I tried to use skipBytes(), read(),readBytes()... all of them give me
StreamCorrupted Exception: reached EOF in stream... Any info in this aspect would be of great help.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic