Class RestartDirWalker

java.lang.Object
org.apache.commons.io.DirectoryWalker
org.duracloud.sync.walker.DirWalker
org.duracloud.sync.walker.RestartDirWalker
All Implemented Interfaces:
Runnable

public class RestartDirWalker extends DirWalker
Walks a set of directory trees just like a DirWalker, but only adds files to the changed list if their modified date is more recent than the time of the last backup. This provides a listing of files which have been added or updated since the last backup. All files in directories which have changed are added to the changed list as well in order to handle the possibility of directory names having been changed.