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