| org.eclipse.core.indexsearch.ISearchResultCollector
ISearchResultCollector | public interface ISearchResultCollector (Code) | | A ISearchResultCollector collects search results from a search
query to a SearchEngine . Clients must implement this interface and pass
an instance to the search(...) methods.
The order of the results is unspecified. Clients must not rely on this order to display results,
but they should sort these results.
Clients may implement this interface.
See Also: SearchEngine.search |
Method Summary | |
public void | accept(IResource resource, int start, int length) Accepts the given search result. |
accept | public void accept(IResource resource, int start, int length) throws CoreException(Code) | | Accepts the given search result.
Parameters: resource - the resource in which the match has been found Parameters: start - the start position of the match, -1 if it is unknown Parameters: length - the length of the match exception: CoreException - if this collector had a problem accepting the search result |
|
|