epub-stream is rxjava-based epub parser
- epub(unzip)
- mimetype
- container
- opf
- metadata
- manifest
- spine
- guide
- toc
- It has the above object priority.
- When you request a child object, it automatically loads the parent object if necessary.
- Loaded objects are cached.
var epubStream = EpubStream(file)
//unzip
epubStream.unzip() //completable
.subscribe { }
//getExtractedDirectory
epubStream.getExtractedDirectory() //single
.subscribe {file -> }
//getMimeType
epubStream.getMimeType() //single
.subscribe {mimeType -> }
//getContainer
epubStream.getContainer() //single
.subscribe {container -> }
//getOpf
epubStream.getOpf() //single
.subscribe {pacakge -> }