xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Auto-buffering in BaseSerializer
Date Sun, 28 Nov 1999 15:56:29 GMT
Scott Boag/CAM/Lotus wrote:
> 
> > What about
> >
> >   writer = (writer instanceof BufferedWriter) ? writer : new
> > BuffereWriter(writer);
> 
> The caller may purposely not want to have buffering occur (I have done this
> many times).  In a general API, you shouldn't make these choices for the
> caller... it needs to be up to them.

I agree with both of you: no buffering and well documented behavior.

Stefano.



Mime
View raw message