package com.stevesoft.xmlser -- serializing your objects to xml
Have you ever generated an file using Java's
serialization mechanism and later wished you could
read it and/or modified it using a text editor?
Wouldn't it be nice if the serialization
mechanism produced xml? That is what xmlser is for.
You can use it in one of two ways -- from within
your code or from the command line.
From the command line it works this way:
java -jar xmlser-beta2.jar -bin2xml < my_binary_file > my_xml_file.xml
or this way
java -jar xmlser-beta2.jar -xml2bin < my_xml_file.xml > my_binary_file
This allows you to read your existing serialized files, modify them
by hand using a text editor if you want, then recreate them in
default serialized form.
The second way to use this software is from within your
existing source code. You simply replace your import statements
as follows:
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
becomes
import com.stevesoft.xmlser.ObjectInputStream;
import com.stevesoft.xmlser.ObjectOutputStream;
and continue to use it as you always have done.
Best of all, xmlser is free under the
Lesser
GNU Public License. Please visit our downloads
section to obtain your copy of xmlser.
Requirements: xmlser requires java 1.2 or later, but
requires no additional external packages.
|