EpubCover

EpubCover

Class for representing the cover image in the EPUB file.

Constructor

new EpubCover()

Source:

Extends

Methods

(static) getType() → {ItemTypeEnum}

Source:

Overrides EpubItem's getType method to always return COVER type

Returns:

The item's type

Type
ItemTypeEnum

getType() → {ItemTypeEnum}

Source:
Overrides:

Guesses type according to the file extension. Might not be the best way to do it, but it works for now.
We map the type by finding the file extension in ItemTypeFileExtensionMap

Returns:

The type of the item

Type
ItemTypeEnum