public interface DirectoryFilter
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getBaseDirectory()
Returns the base directory.
|
FileNamePattern |
getDirectoryPattern()
Returns the directory search pattern currently set or null.
|
int |
getMaxDepth()
Returns the maximal search depth.
|
boolean |
isExcludeMatchingDirectories()
Control flag for the
directory pattern. |
boolean |
isIncludeSubDirs()
Should files in subdirectories of the base directory pass the filter?
|
java.io.File getBaseDirectory()
boolean isIncludeSubDirs()
int getMaxDepth()
FileNamePattern getDirectoryPattern()
boolean isExcludeMatchingDirectories()
directory pattern. If this flag is set,
directories matching the directory pattern will be excluded from the search. Otherwise, only files
in or under a matching directory (i.e. with matching ancestor directory) will be included in the
search result. If the directory pattern is not set (null), this flag has no effect.