| Package | Description |
|---|---|
| org.netbeans.api.search |
This package contains classes that can be used by modules that need
to work with Search in Projects dialog, or want to share
information about what data was recently searched.
|
| org.netbeans.api.search.provider |
Classes that you may need to work with if you are implementing
a custom search provider.
|
| org.netbeans.api.search.ui |
Helpers for creating UI controls for your search provider that are
similar to controls in the default provider.
|
| org.netbeans.spi.search |
This package contains classes that you can subclass and register to
lookups of nodes if you want to specify how the nodes should be
searched.
|
| Modifier and Type | Method | Description |
|---|---|---|
static SearchScopeOptions |
SearchScopeOptions.create() |
Create instance initialized with default options.
|
static SearchScopeOptions |
SearchScopeOptions.create(java.lang.String pattern,
boolean regexp) |
|
static SearchScopeOptions |
SearchScopeOptions.create(java.lang.String pattern,
boolean regexp,
boolean searchInArchives,
boolean searchInGenerated,
java.util.List<SearchFilterDefinition> filters) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.regex.Pattern |
RegexpUtil.makeFileNamePattern(SearchScopeOptions searchScopeOptions) |
Compile file name pattern for search options.
|
static void |
SearchControl.openFindDialog(SearchPattern searchPattern,
SearchScopeOptions searchScopeOptions,
java.lang.Boolean useIgnoreList,
java.lang.String scopeId) |
Shows dialog for basic search task.
|
static void |
SearchControl.openReplaceDialog(SearchPattern searchPattern,
java.lang.String replaceString,
java.lang.Boolean preserveCase,
SearchScopeOptions searchScopeOptions,
java.lang.Boolean useIgnoreList,
java.lang.String scopeId) |
Shows dialog for basic replace task.
|
static void |
SearchControl.startBasicSearch(SearchPattern searchPattern,
SearchScopeOptions searchScopeOptions,
java.lang.String scopeId) |
Start basic search for specified parameters.
|
| Modifier and Type | Method | Description |
|---|---|---|
static FileNameMatcher |
FileNameMatcher.create(SearchScopeOptions options) |
Create an appripriate matcher for specific search options.
|
protected abstract java.util.Iterator<org.openide.filesystems.FileObject> |
SearchInfo.createFilesToSearchIterator(SearchScopeOptions options,
SearchListener listener,
java.util.concurrent.atomic.AtomicBoolean terminated) |
Create
Iterator that iterates over all files in the search scope
that comply with search options and search filters. |
protected abstract java.util.Iterator<java.net.URI> |
SearchInfo.createUrisToSearchIterator(SearchScopeOptions options,
SearchListener listener,
java.util.concurrent.atomic.AtomicBoolean terminated) |
Create
Iterator that iterates over all URIs in the search scope
that comply with search options and search filters. |
java.lang.Iterable<org.openide.filesystems.FileObject> |
SearchInfo.getFilesToSearch(SearchScopeOptions options,
SearchListener listener,
java.util.concurrent.atomic.AtomicBoolean terminated) |
Get
Iterable that iterates over all files in the search scope
that comply with search options and search filters. |
java.lang.Iterable<java.net.URI> |
SearchInfo.getUrisToSearch(SearchScopeOptions options,
SearchListener listener,
java.util.concurrent.atomic.AtomicBoolean terminated) |
Get
Iterable that iterates over all URIs in the search scope
that comply with search options and search filters. |
| Modifier and Type | Method | Description |
|---|---|---|
SearchScopeOptions |
ScopeOptionsController.getSearchScopeOptions() |
Return search scope options reflecting the actual state of the panel.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.Iterator<org.openide.filesystems.FileObject> |
SearchInfoDefinition.filesToSearch(SearchScopeOptions options,
SearchListener listener,
java.util.concurrent.atomic.AtomicBoolean terminated) |
Specifies which
FileObjects should be searched. |
java.util.Iterator<java.net.URI> |
SearchInfoDefinition.urisToSearch(SearchScopeOptions options,
SearchListener listener,
java.util.concurrent.atomic.AtomicBoolean terminated) |
Specifies which
URIss should be searched. |
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.