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.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 and Description |
---|---|
List<SearchFilterDefinition> |
SearchScopeOptions.getFilters()
Get list of custom filters.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchScopeOptions.addFilter(SearchFilterDefinition filter)
Add a file object filter.
|
Modifier and Type | Method and Description |
---|---|
static SearchScopeOptions |
SearchScopeOptions.create(String pattern,
boolean regexp,
boolean searchInArchives,
boolean searchInGenerated,
List<SearchFilterDefinition> filters) |
Modifier and Type | Method and Description |
---|---|
static SearchInfo |
SearchInfoUtils.createSearchInfoForRoots(FileObject[] roots,
boolean useDefaultFilters,
SearchFilterDefinition... extraFilters)
Create a search info for an array of FileObjects.
|
void |
SearchListener.fileSkipped(FileObject fileObject,
SearchFilterDefinition filter,
String message)
Called when a file is skipped - filtered out by a filter.
|
void |
SearchListener.fileSkipped(URI uri,
SearchFilterDefinition filter,
String message)
Called when a file is skipped - filtered out by a filter.
|
Modifier and Type | Field and Description |
---|---|
static SearchFilterDefinition |
SearchInfoDefinitionFactory.SHARABILITY_FILTER
Filter for unsharable files.
|
static SearchFilterDefinition |
SearchInfoDefinitionFactory.VISIBILITY_FILTER
Filter for invisible files.
|
Modifier and Type | Field and Description |
---|---|
static List<SearchFilterDefinition> |
SearchInfoDefinitionFactory.DEFAULT_FILTER_DEFS
List of default filter definitions.
|
Modifier and Type | Method and Description |
---|---|
abstract List<SearchFilterDefinition> |
SubTreeSearchOptions.getFilters()
Get list of filters that will be used for searching under a node.
|
Modifier and Type | Method and Description |
---|---|
static SearchInfoDefinition |
SearchInfoDefinitionFactory.createFlatSearchInfo(FileObject root,
SearchFilterDefinition[] filters)
Create a search definition info for non-recursive searching in a single
directory.
|
static SearchInfoDefinition |
SearchInfoDefinitionFactory.createSearchInfo(FileObject[] roots,
SearchFilterDefinition[] filters)
Creates a
SearchInfoDefinition object for given folders. |
static SearchInfoDefinition |
SearchInfoDefinitionFactory.createSearchInfo(FileObject root,
SearchFilterDefinition[] filters)
Creates a
SearchInfoDefinition object for a given folder. |
Built on October 25 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.