Directory Scanner in Java
问题 Scan a set of directories continuously for a set of file name filters. For each file name filter arrived, process the file and repeat the steps for all What can be the recommended design for this in jdk 1.5 , possibly using java.concurrent.Executor and Future 回答1: I have done a similar task with the web crawler.Just a few changes had to be made... It is a concurrent implementation with newly found directories getting scanned by the thread pool in the Executor Framework.It uses concurrent