-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.SuspendingCloseable
public interface PublicationServicesHolder implements SuspendingCloseable
Holds Publication.Service instances for a Publication.
-
-
Method Summary
Modifier and Type Method Description abstract <T extends Publication.Service> TfindService(KClass<T> serviceType)Returns the first publication service that is an instance of serviceType. abstract <T extends Publication.Service> List<T>findServices(KClass<T> serviceType)Returns all the publication services that are instances of serviceType. -
-
Method Detail
-
findService
abstract <T extends Publication.Service> T findService(KClass<T> serviceType)
Returns the first publication service that is an instance of serviceType.
-
findServices
abstract <T extends Publication.Service> List<T> findServices(KClass<T> serviceType)
Returns all the publication services that are instances of serviceType.
-
-
-
-