Forums Register Login

saving object state in object while writing-reading object in streams

+Pie Number of slices to send: Send
hi
i have problem in reading object while i wrote(object output stream) an object having an object (for propeties like color, font,style) init, lost their new change during writing & reading again through object input stream.
thanxs in adv.
V
+Pie Number of slices to send: Send
Hi,
Welcome to JavaRanch!
I'm not sure I understand your question: it sounds like you're saying that if you write out an object, change it, then read it back in, the changes get overwritten; but of course that can't be what you're saying, because surely that's the behavior you'd expect.
Can you try to rephrase your question?
Also, this has nothing to do with performance; I'm going to move it to I/O and Streams
[ October 13, 2003: Message edited by: Ernest Friedman-Hill ]
Bras cause cancer. And tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 652 times.
Similar Threads
java.io.InvalidClassException
Barry Boone (BB) Q38 FileOutputStream
doubt with serialization
Multiple threads writing and reading from single socket
Serialization/Deserialization
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:58:32.