public class RecursiveFileSearch
extends java.lang.Object
| Constructor and Description |
|---|
RecursiveFileSearch(java.lang.String baseDir,
java.io.FileFilter fileFilter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<java.lang.String> |
fileNameIterator()
Get an iterator over the files found by the search.
|
java.util.List<java.lang.String> |
getDirectoriesScanned() |
RecursiveFileSearch |
search()
Perform the search.
|
public RecursiveFileSearch(java.lang.String baseDir,
java.io.FileFilter fileFilter)
baseDir - the base directory for the searchfileFilter - chooses files to add to the results, and subdirectories to
continue the search inpublic RecursiveFileSearch search() throws java.lang.InterruptedException
java.lang.InterruptedException - if the thread is interrupted before the search completespublic java.util.Iterator<java.lang.String> fileNameIterator()
public java.util.List<java.lang.String> getDirectoriesScanned()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.