Package 

Class StringSearchService

  • All Implemented Interfaces:
    org.readium.r2.shared.publication.Publication.Service , org.readium.r2.shared.publication.services.search.SearchService , org.readium.r2.shared.util.Closeable

    
    public final class StringSearchService
     implements SearchService
                        

    Base implementation of SearchService iterating through the content of Publication's resources.

    To stay media-type-agnostic, StringSearchService relies on ResourceContentExtractor implementations to retrieve the pure text content from markups (e.g. HTML) or binary (e.g. PDF) resources.

    The actual search is implemented by the provided searchAlgorithm.