Re: [Simple-support] Multiple Objects in One File
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2008-06-03 08:46:54
|
Hi, For some reason I did not get the original message or the follow up to this. It must have gone in to my spam folder. In answer to your question yes, you can stream many objects to one file. Also, simple should be much more memory efficient than XStream at just about everything. Niall --- Timo Rumland <cr...@ol...> wrote: > Hello Alan, > > > It's not jumping out at me. Is there an interface > where you can > > write multiple objects to one file? XStream has > object streams for > > this purpose... > > the only way I know is to have a class that wraps > references to the > objects you would like to serialize. > > Say we have ObjectA, ObjectB and ObjectC. Just > create a class that has > references to each of that instances and serialize > that class. > > I'm not really an expert on SimpleXML, but this is > the only "solution" > I know. > > > Regards, > Timo > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |