DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32944>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32944





------- Additional Comments From [EMAIL PROTECTED]  2005-01-05 17:55 -------
A relevant thread from the users list:

> As a matter of fact, I think methods such as copyDirectory(...) in FileUtils
> should provide a Boolean parameter to make the copy recursive or not. I
> think it is common need.
> Another Boolean parameter could be provided to specify if empty directories
> should be copied as well or not.

Probably the most flexible way to go would be to have an optional IOFileFilter 
parameter that would allow you to filter the files from the source dir that are 
copied. So there'd be the following sigs:

copyDirectory(File src, File dest)
copyDirectory(File src, File dest, boolean preserveTimestamp)
copyDirectory(File src, File dest, IOFileFilter filter)
copyDirectory(File src, File dest, IOFileFilter filter, boolean 
preserveTimestamp) 


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to