Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Customized deserialization  RSS feed

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
Boost this thread!