Problems with NSUnarchiver (Java)
Problems with NSUnarchiver (Java)
- Subject: Problems with NSUnarchiver (Java)
- From: Shannon Holland <email@hidden>
- Date: Sat, 15 Sep 2001 19:02:02 -0700
I'm sure this is a really stupid question, but I can't seem to get
NSUnarchiver to work with Java.
I'm able to archive with NSArchiver just fine, but when I attempt to
unarchive, I crash.
Taking a step back, how exactly is this supposed to work with Java? Do I
use the java.io.Serializable interface or the
encodeWithCoder/decodeObject methods?
If I go the serializer route, I'm also able to save but crash when
reading the data back in...
I am able to encode/decode standard foundation classes (such as
NSMutableDictionary), just not my own. classes so I'm sure I'm doing (or
not doing) something really dumb.
Is there any Java sample code for this?
Thanks!
Shannon