PdfParser class

Parser for PDF file.

Inheritance
Implemented types

Constructors

PdfParser(PdfDocumentFactory pdfFactory)
Creates an instance of PdfParser that requires a pdfFactory.

Properties

hashCode int
The hash code for this object.
no setterinherited
pdfFactory PdfDocumentFactory
pdfFactory is an implementation that can open PDF files.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String fileAtPath) Future<PubBox?>
Parse a file and return a PubBox instance if the format is supported by the parser.
inherited
parseFile(PublicationAsset asset, Fetcher fetcher) Future<PublicationBuilder?>
Constructs a Publication.Builder to build a Publication from a publication file.
override
parseWithFallbackTitle(String fileAtPath, String fallbackTitle) Future<PubBox?>
Parse a file and return a PubBox instance if the format is supported by the parser.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited