Interface ITextSearchResultCollector
-
public interface ITextSearchResultCollector
Collector interface for text search results of search
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
collect(org.eclipse.core.resources.IFile file, String text, int offset, int length, int fileOffset, long lineNumber)
The method that is called when a search match is found.
-
-
-
Method Detail
-
collect
void collect(org.eclipse.core.resources.IFile file, String text, int offset, int length, int fileOffset, long lineNumber)
The method that is called when a search match is found.- Parameters:
file
- the file where match was found, cannot benull
text
- the matched text, cannot benull
offset
- the offset of matched text in textlength
- the length of matched textfileOffset
- the offset of matched text in filelineNumber
- the line number of matched text in file
-
-