public abstract class FileNameMatcher
extends java.lang.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(java.io.File file) |
|
abstract boolean |
pathMatches(java.net.URI uri) |
|
abstract boolean |
pathMatches(org.openide.filesystems.FileObject fileObject) |
public abstract boolean pathMatches(java.io.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(java.net.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.