-
- All Implemented Interfaces:
-
org.readium.r2.streamer.PublicationParser
public final class AudioParser implements PublicationParser
Parses an audiobook Publication from an unstructured archive format containing audio files, such as ZAB (Zipped Audio Book) or a simple ZIP.
It can also work for a standalone audio file.
-
-
Constructor Summary
Constructors Constructor Description AudioParser()
-
Method Summary
Modifier and Type Method Description Publication.Builderparse(PublicationAsset asset, Fetcher fetcher, WarningLogger warnings)Constructs a Publication.Builder to build a Publication from a publication asset. -
-
Method Detail
-
parse
Publication.Builder parse(PublicationAsset asset, Fetcher fetcher, WarningLogger warnings)
Constructs a Publication.Builder to build a Publication from a publication asset.
- Parameters:
asset- Digital medium (e.g.fetcher- Initial leaf fetcher which should be used to read the publication's resources.warnings- Used to report non-fatal parsing warnings, such as publication authoring mistakes.
-
-
-
-