• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialized Object File Converter?

 
Chip Gobs
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is anyone out there aware of a utility that will convert a file of serialized java objects to and from a human readable and editable format? If the format were XML, it would be nice, but it is not necessary.

thanks,
Chip
 
sreek, Thiru
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java uses Hex code to write into serialized file... if u have any hex-file editor u can view it... or the usual way is to deserialize the objects in the file and perform get() methods (must be in the class def) to printout the info u want.
hope this would be helpful to u.
regards,
sreek
 
Chip Gobs
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I would like to do is to be able to serialize things and
be able to edit the serialized file by hand and not have to
write custom code for the serialization. That would be ideal.
Right now, when I want to be able to edit the serialized class, I write my own methods for serializing to a nice text file, which
has the distinct disadvantage of taking time away from developing the business aspect of the classes.
Chip
 
sreek, Thiru
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Chip here is the solution for ur problem..
the "objectstreamwalker" in this package seems to be more like what u want
http://staff.develop.com/halloway/code/objectio.html

Enjoy
-- sreek
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!