public class DirWalker extends org.apache.commons.io.DirectoryWalker implements Runnable
Modifier | Constructor and Description |
---|---|
protected |
DirWalker(List<File> filesAndDirs,
File excludeFile) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
excluded(File file) |
int |
getFilesCount() |
protected void |
handleFile(File file,
int depth,
Collection results) |
protected boolean |
handleIsCancelled(File file,
int depth,
Collection results) |
void |
run() |
protected void |
setExcludeList(List<String> excludeList) |
static DirWalker |
start(List<File> topDirs,
File excludeFile) |
void |
stopWalk() |
boolean |
walkComplete() |
protected void |
walkDirs() |
public void stopWalk()
protected void walkDirs()
protected void handleFile(File file, int depth, Collection results)
handleFile
in class org.apache.commons.io.DirectoryWalker
protected boolean excluded(File file)
protected boolean handleIsCancelled(File file, int depth, Collection results) throws IOException
handleIsCancelled
in class org.apache.commons.io.DirectoryWalker
IOException
public boolean walkComplete()
public int getFilesCount()
Copyright © 2009–2014 DuraSpace. All rights reserved.