public abstract class FileNameMatcher extends Object
create(SearchScopeOptions)
to get optimal
implementation for specific search scope options.
Modifier and Type | Method | Description |
---|---|---|
static FileNameMatcher |
create(SearchScopeOptions options) |
Create an appripriate matcher for specific search options.
|
abstract boolean |
pathMatches(File file) |
|
abstract boolean |
pathMatches(URI uri) |
|
abstract boolean |
pathMatches(org.openide.filesystems.FileObject fileObject) |
public abstract boolean pathMatches(File file)
file
- File whose name or path should be matched.public abstract boolean pathMatches(org.openide.filesystems.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)
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.