A *.gz file was created under a previous version of a package I'm using (it has the class tratz.semantics.ClassificationBundle). In the current version, the class is named miacp.semantics.ClassificationBundle. The two have identical members. Is there any way to make the earlier version readable in the later version? The basic read function is
ClassificationBundle bundle = (ClassificationBundle) ois.readObject();
I have the earlier version, so I can read the file in that version. But, how would I then create a new file that can be read in the new version?