Utility class that collects the functionality of the various
scanDir methods that have been scattered in several tasks before.
The only method returns an array of source files. The array is a
subset of the files given as a parameter and holds only those that
are newer than their corresponding target files.
restrict(java.lang.String[] files,
java.io.File srcDir,
java.io.File destDir,
FileNameMapper mapper)
Restrict the given set of files to those that are newer than
their corresponding target files.
java.io.File[]
restrictAsFiles(java.lang.String[] files,
java.io.File srcDir,
java.io.File destDir,
FileNameMapper mapper)
Convinience layer on top of restrict that returns the source
files as File objects (containing absolute paths if srcDir is
absolute).