public class DirWalker extends org.apache.commons.io.DirectoryWalker implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected ChangedList |
changedList |
protected FileExclusionManager |
fileExclusionManager |
| Modifier | Constructor and Description |
|---|---|
protected |
DirWalker(List<File> filesAndDirs,
FileExclusionManager fileExclusionManager) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFilesCount() |
protected boolean |
handleDirectory(File directory,
int depth,
Collection results) |
protected void |
handleFile(File file,
int depth,
Collection results) |
protected boolean |
handleIsCancelled(File file,
int depth,
Collection results) |
void |
run() |
static DirWalker |
start(List<File> topDirs,
FileExclusionManager fileExclusionManager) |
void |
stopWalk() |
boolean |
walkComplete() |
protected void |
walkDirs() |
protected final ChangedList changedList
protected FileExclusionManager fileExclusionManager
protected DirWalker(List<File> filesAndDirs, FileExclusionManager fileExclusionManager)
public void stopWalk()
protected void walkDirs()
protected boolean handleDirectory(File directory, int depth, Collection results) throws IOException
handleDirectory in class org.apache.commons.io.DirectoryWalkerIOExceptionprotected void handleFile(File file, int depth, Collection results)
handleFile in class org.apache.commons.io.DirectoryWalkerprotected boolean handleIsCancelled(File file, int depth, Collection results) throws IOException
handleIsCancelled in class org.apache.commons.io.DirectoryWalkerIOExceptionpublic static DirWalker start(List<File> topDirs, FileExclusionManager fileExclusionManager)
public boolean walkComplete()
public int getFilesCount()
Copyright © 2009–2017 DuraSpace. All rights reserved.