Does anyone know any way of implementing progress bar for Apache's FileUtils.copyDirectory(File src, File dst)
? I don't see anything helpful in JavaDocs and API. Seems like a common use case in dealing with batch disk operations, so I'm not sure if I miss something obvious.
I guess you will have to do that yourself. I see this immediate solution:
FileUtils.copyDirectory(File, File, FileFilter)
and "abuse" the FileFilter
as a callback to communicate progress to your progress bar