com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class ListSearchHandler

  • All Implemented Interfaces:
    ISearchHandler


    public final class ListSearchHandler
    extends Object
    implements ISearchHandler

    Represents search handler for converting search events into a plain list.

    • Constructor Detail

      • ListSearchHandler

        public ListSearchHandler()

        Initializes a new instance of the ListSearchHandler class.

    • Method Detail

      • getList

        public List<SearchResult> getList()

        Gets a list with search results.

        Returns:
        A list with search results.
      • complete

        public void complete()

        The search is completed.

        Specified by:
        complete in interface ISearchHandler
      • processSearchResult

        public boolean processSearchResult(SearchResult searchResult)

        The next occurrence of the search word is found.

        Specified by:
        processSearchResult in interface ISearchHandler
        Parameters:
        searchResult - The search result.
        Returns:
        A boolean true to continue the search; otherwise false.