-
- All Implemented Interfaces:
public class EpubPositionsService.ReflowableStrategyStrategy used to calculate the number of positions in a reflowable resource.
Note that a fixed-layout resource always has a single position.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEpubPositionsService.ReflowableStrategy.OriginalLengthUse the original length of each resource (before compression and encryption) and split it by the given pageLength.
public final classEpubPositionsService.ReflowableStrategy.ArchiveEntryLengthUse the archive entry length (whether it is compressed or stored) and split it by the given pageLength.
public classEpubPositionsService.ReflowableStrategy.Companion
-
Method Summary
Modifier and Type Method Description abstract IntegerpositionCount(Resource resource)Returns the number of positions in the given resource according to the strategy. -
-
Method Detail
-
positionCount
abstract Integer positionCount(Resource resource)
Returns the number of positions in the given resource according to the strategy.
-
-
-
-