• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Serialized Object File Converter?

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic