Jez,
You are correct. There is no Append mode. As you say, you have to read all
of the entries in and then add the new ones.
Guy Smith-Ferrier
>I have used ResourceWriter and ResourceReader for writing a reading
>resource
[quoted text clipped - 7 lines]
> some collection, then use a ResourceWriter to write these plus any
> additional entries to the same file name? Seems very inefficient ....
JezB - 28 Feb 2005 11:02 GMT
OK thanks Guy. I'm worried about performance for large numbers of big
resource files but if this is the only way then so be it !
> Jez,
>
[quoted text clipped - 14 lines]
>> some collection, then use a ResourceWriter to write these plus any
>> additional entries to the same file name? Seems very inefficient ....
Guy Smith-Ferrier - 28 Feb 2005 13:47 GMT
Jez,
You will need to make a judgement here but if performance is the most
important issue then you could reject the ResourceReader/ResourceWriter
classes and code the solution another way. I wouldn't recommend this though
and I haven't found their performance warrants bypassing them.
Guy
> OK thanks Guy. I'm worried about performance for large numbers of big
> resource files but if this is the only way then so be it !
[quoted text clipped - 18 lines]
>>> some collection, then use a ResourceWriter to write these plus any
>>> additional entries to the same file name? Seems very inefficient ....