You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Niklas Gustavsson <ni...@protocol7.com> on 2005/11/13 22:02:47 UTC
[transactions] List files
Hi
would it be possible to add a method for listing the files in a
directory (the eqivilent of File.listFiles) that includes the changes
made within the transaction? If you can give me some pointers I would be
happy to help out if you want to.
/niklas
-------
Niklas Gustavsson
http://www.protocol7.com
mailto:niklas@protocol7.com
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [transactions] List files
Posted by Oliver Zeigermann <ol...@gmail.com>.
Hi Niklas!
This certainly is useful and it really shouldn't be too hard to implement.
File.list or File.listFiles could be used as a basis and method
getPathForRead
contains the - really simple - logic how to find out if a file has
been added or removed locally.
Oliver
2005/11/13, Niklas Gustavsson <ni...@protocol7.com>:
> Hi
>
> would it be possible to add a method for listing the files in a
> directory (the eqivilent of File.listFiles) that includes the changes
> made within the transaction? If you can give me some pointers I would be
> happy to help out if you want to.
>
> /niklas
>
> -------
> Niklas Gustavsson
> http://www.protocol7.com
> mailto:niklas@protocol7.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org