-
- All Implemented Interfaces:
-
org.readium.r2.streamer.parser.PublicationParser
public final class DefaultPublicationParser implements PublicationParser
Default implementation of PublicationParser handling all the publication formats supported by Readium.
-
-
Constructor Summary
Constructors Constructor Description DefaultPublicationParser(Context context, HttpClient httpClient, AssetRetriever assetRetriever, PdfDocumentFactory<?> pdfFactory, List<PublicationParser> additionalParsers)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
DefaultPublicationParser
DefaultPublicationParser(Context context, HttpClient httpClient, AssetRetriever assetRetriever, PdfDocumentFactory<?> pdfFactory, List<PublicationParser> additionalParsers)
- Parameters:
httpClient- Service performing HTTP requests.assetRetriever- Opens assets in case of indirection.pdfFactory- Parses a PDF document, optionally protected by password.additionalParsers- Parsers used to open a publication, in addition to the default parsers.
-
-
-
-