Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Entry point of the library to open epub archive
val parse : string -> t
parse file
unzips the archive name file
.
val close : t -> unit
close epub
closes the underlying archive handler
val files : t -> string list
files epub
returns the list of files contained in the archive
val handler : t -> Zip.in_file
handler epub
returns the underlying zip handler
val read_entry : t -> string -> string option
read_entry epub filename
returns the content of filename
in epub
. read_entry
returns None
if filename
is not a file in epub
.