commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject Re: [io] writer/reader sub-packages
Date Tue, 29 Oct 2002 00:05:54 GMT
From: "Michael Davey" <Michael.Davey@CodeRage.ORG>
> > The lib you mention has a unified Stream which has both the reading and
> > writing parts in [summarising a touch]. This is nice except that it
> > that 'XmlReadStream' does not extend It'd be nice
> > hear some good positives for the joined version
> (that is, it is unlikely that an inteligent programmer will accidentally
> code asFoo() in such a way that read() fails to read the data written by
> write()).
> > as I think the surprise of
> > discovering the io classes don't extend Java ones would be a big
> Agreed.  I'm not sure the positives outweigh the negative either.

I would be -1 for not supporting InputStream and OutputStream as [io] is not
there to challenge Sun's APIs.

However, [io] can build on Sun's APIs, thus surely it is possible to write a
decorator/new API that does the same job of uniting the input and output


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message