943,678 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 907
  • Java RSS
Mar 1st, 2009
0

String to Hashtable?

Expand Post »
Hello,

In my application, as a result of P2P communication, I receive a String object, which is the serialized representation of a Hashtable. Can I somehow recover my original object? I've never done such thing before, and I couldn't find any example which would help.

Thanks in advance,
Chaster
Similar Threads
Reputation Points: 12
Solved Threads: 3
Junior Poster in Training
Chaster is offline Offline
68 posts
since Jun 2007
Mar 1st, 2009
0

Re: String to Hashtable?

Ever heard about deserialization ? You can deserialize a previously serialized object, so that it represents an object exactly matching the one that was serialized.
Reputation Points: 485
Solved Threads: 89
Posting Shark
verruckt24 is offline Offline
944 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: checking my work.
Next Thread in Java Forum Timeline: "Couldn't get I/O for the connection to server" in my client program??





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC