File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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!^^
I agree. Here's the link:
subject: ObjectInputStream
It's not a secret anymore!