Nothing from me, although I'd like to get something off my chest. I'm
having trouble selling the benefit of using Commons IO inside the XML
Graphics project. Well, it's only one person but still: The fact that
CopyUtils is deprecated now and that all methods get moved (back!) to
IOUtils tells him that Commons IO is not a good candidate as a
dependency for the XML Graphics Commons components we're going to scrape
together from Batik and FOP subprojects. We will probably end up
duplicating the few things we absolutely need (IOUtils.closeQuietly(),
CopyUtils.copy(InputStream, OutputStream) and CountingOutputStream) for
the common components. Just to let you know what happens elsewhere WRT
Commons IO.

While I'm at it I could list to anyone interested what we have in FOP as
IO-related stuff in case anyone would like to get anything from there
into Commons IO (after 1.1 please):
http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/

- The Finalizable interface which allows to properly finalize an output
stream without closing it (something between a flush() and a close()).
There are several encoders (ASCII-85, ASCII Hex, RLE, Flate used for PDF
and PostScript) in that package which implement Finalizable.
- CloseBlockerOutputStream makes sure the underlying stream won't be
closed when the calling OutputStream is closed.
- SubInputStream which allows to read up to a maximum number of bytes
from an underlying stream after which it behaves as if it had reache EOF.
close() doesn't close the underlying stream.

You see there is some stuff there to handle sub-streams. I'm not
actively proposing to move them to Commons IO because I don't want to
stir any sleeping dogs right now but if anyone wants that stuff....

Big thanks to Stephen for pushing for the release. I'm so deep into FOP
affairs that I have absolutely no time to help here. I wish I had time.

On 10.09.2005 15:23:36 Stephen Colebourne wrote:
> Has anyone got anything they want to add to Commons IO 1.1 ?
> 
> Current bugs/rfes:
> http://issues.apache.org/bugzilla/buglist.cgi?cmdtype=runnamed&namedcmd=IO%20bugs
> 
> ie. nothing that needs to be done...
> 
> 
> The release notes text has been done, but the bug ids need adding, and 
> the binary/source/semantic statements need confirming.
> 
> Stephen


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to