• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
vishnu kant
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!