ResourcesLoader

Loads Resources out of EPUB archives.

Functions

Link copied to clipboard
fun loadResources(source: Source, defaultHtmlEncoding: String): Resources

Loads all entries from the given Source (a streaming ZIP).

fun loadResources(fileSystem: FileSystem, zipPath: Path, defaultHtmlEncoding: String, lazyLoadedTypes: List<MediaType> = emptyList()): Resources

Loads entries from the ZIP at zipPath in fileSystem.