This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes ObjectInputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "ObjectInputStream " Watch "ObjectInputStream " New topic


Chris as

Joined: Mar 08, 2006
Posts: 5
how should the input file look like?
I tried it with a XML file, but there is always the same exception!

Normal ObjectInputStream code:


THX for help

Joni Salonen
Ranch Hand

Joined: Jan 07, 2006
Posts: 53
The input file should look like it was written by ObjectOutputStream.

Please read this tutorial:
Chris as

Joined: Mar 08, 2006
Posts: 5
OK, THX!^^
Have you checked out Aspose?
subject: ObjectInputStream
jQuery in Action, 3rd edition