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 be null
        text - the matched text, cannot be null
        offset - the offset of matched text in text
        length - the length of matched text
        fileOffset - the offset of matched text in file
        lineNumber - the line number of matched text in file