EpubParser
class EpubParser(reflowablePositionsStrategy: EpubPositionsService.ReflowableStrategy = EpubPositionsService.ReflowableStrategy.recommended) : PublicationParser
Parses a Publication from an EPUB publication.
Parameters
reflowablePositionsStrategy
Strategy used to calculate the number of positions in a reflowable resource.
Constructors
Link copied to clipboard
constructor(reflowablePositionsStrategy: EpubPositionsService.ReflowableStrategy = EpubPositionsService.ReflowableStrategy.recommended)
Functions
Link copied to clipboard
open suspend override fun parse(asset: Asset, warnings: WarningLogger?): Try<Publication.Builder, PublicationParser.ParseError>
Constructs a Publication.Builder to build a Publication from a publication asset.
Link copied to clipboard