commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <>
Subject [io] Re: File commons
Date Sat, 16 Aug 2003 19:53:01 GMT

This is probably better placed in commons-io, which is slowly winding its
way out of the sandbox.

Still, sounds very useful.


On Sat, 16 Aug 2003, River wrote:

> Recently I did some project that included traversing directories, for
> files, or directories only. In the process I used cli, so to payback I
> want to donate DirectoryIterator to commons-lang project. This is
> non-recursive iterator. Can be very useful, and can save a lot of time
> when dealing with directories, and files. The file is dependent on java2
> (LinkedList used as stack) but it is not difficult for me to change it
> to use Stack, or vector, or something from commons-collections. As
> example of use there is Prune example witch uses iterator to prune all
> empty folders in some given root.
> If you like it you can put it in commons. If it's inappropriate to post
> things this way, please explain me how to propose things in the future.
> Mit freundlichen Grüßen,
> Best Regards,
> River
> Intertele AG

View raw message