-
- All Implemented Interfaces:
-
org.readium.r2.shared.publication.Publication.Service,org.readium.r2.shared.publication.services.PositionsService,org.readium.r2.shared.util.Closeable
public final class PerResourcePositionsService implements PositionsService
Simple PositionsService for a Publication which generates one position per readingOrder resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPerResourcePositionsService.Companion
-
Constructor Summary
Constructors Constructor Description PerResourcePositionsService(List<Link> readingOrder, String fallbackMediaType)
-
Method Summary
Modifier and Type Method Description List<List<Locator>>positionsByReadingOrder()Returns the list of all the positions in the publication, grouped by the resource reading order index. -
Methods inherited from class org.readium.r2.shared.publication.services.PositionsService
get, getLinks, positions -
Methods inherited from class org.readium.r2.shared.publication.Publication.Service
close -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
positionsByReadingOrder
List<List<Locator>> positionsByReadingOrder()
Returns the list of all the positions in the publication, grouped by the resource reading order index.
-
-
-
-