public abstract class FileNameMatcher extends Object
FileNameMatcher.create(SearchScopeOptions) to get optimal
implementation for specific search scope options.
| Modifier and Type | Method and Description |
|---|---|
static FileNameMatcher |
create(SearchScopeOptions options)
Create an appripriate matcher for specific search options.
|
abstract boolean |
pathMatches(File file) |
abstract boolean |
pathMatches(FileObject fileObject) |
abstract boolean |
pathMatches(URI uri) |
public abstract boolean pathMatches(File file)
file - File whose name or path should be matched.public abstract boolean pathMatches(FileObject fileObject)
fileObject - File whose name or path should be matched.public abstract boolean pathMatches(URI uri)
uri - URI whose name or path should be matched.public static FileNameMatcher create(SearchScopeOptions options)