Package 

Interface SearchService

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

    
    public interface SearchService
     implements Publication.Service
                        

    Provides a way to search terms in a publication.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class SearchService.Options

      Holds the available search options and their current values.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Try<SearchIterator, SearchException> search(String query, SearchService.Options options) Starts a new search through the publication content, with the given query.
      abstract SearchService.Options getOptions() Default value for the search options of this service.
      • Methods inherited from class org.readium.r2.shared.publication.Publication.Service

        close, get, getLinks
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait