-
public final class EpubPositionsService.ReflowableStrategy.ArchiveEntryLength extends EpubPositionsService.ReflowableStrategy
Use the archive entry length (whether it is compressed or stored) and split it by the given pageLength.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerpageLength
-
Constructor Summary
Constructors Constructor Description EpubPositionsService.ReflowableStrategy.ArchiveEntryLength(Integer pageLength)
-
Method Summary
Modifier and Type Method Description final IntegergetPageLength()IntegerpositionCount(Link link, Resource resource)Returns the number of positions in the given resource according to the strategy. -
-
Constructor Detail
-
EpubPositionsService.ReflowableStrategy.ArchiveEntryLength
EpubPositionsService.ReflowableStrategy.ArchiveEntryLength(Integer pageLength)
-
-
Method Detail
-
getPageLength
final Integer getPageLength()
-
positionCount
Integer positionCount(Link link, Resource resource)
Returns the number of positions in the given resource according to the strategy.
-
-
-
-