public static class FSUtils.BlackListDirFilter extends Object
Constructor and Description |
---|
BlackListDirFilter(FileSystem fs,
List<String> directoryNameBlackList)
Create a filter on the givem filesystem with the specified blacklist
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Path p) |
protected boolean |
isValidName(String name) |
public BlackListDirFilter(FileSystem fs, List<String> directoryNameBlackList)
fs
- filesystem to filterdirectoryNameBlackList
- list of the names of the directories to filter. If
null, all directories are returnedpublic boolean accept(Path p)
protected boolean isValidName(String name)