Class EpubThumbnailBuilder
- java.lang.Object
-
- com.logicaldoc.core.document.thumbnail.AbstractThumbnailBuilder
-
- com.logicaldoc.core.document.thumbnail.ImageThumbnailBuilder
-
- com.logicaldoc.core.document.thumbnail.EpubThumbnailBuilder
-
- All Implemented Interfaces:
ThumbnailBuilder
public class EpubThumbnailBuilder extends ImageThumbnailBuilder
This builder generates the thumbnail for a .epub(e-book) document.- Since:
- 8.4.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description EpubThumbnailBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildThumbnail(String sid, Document document, String fileVersion, File src, File dest, int size, int compression)
Produce the thumbnail
-
-
-
Method Detail
-
buildThumbnail
public void buildThumbnail(String sid, Document document, String fileVersion, File src, File dest, int size, int compression) throws IOException
Description copied from interface:ThumbnailBuilder
Produce the thumbnail- Specified by:
buildThumbnail
in interfaceThumbnailBuilder
- Overrides:
buildThumbnail
in classImageThumbnailBuilder
- Parameters:
sid
- The session identifier (optional)document
- The documentfileVersion
- Optional file version specsrc
- The source filedest
- The destination thumbnail filesize
- The thumbnail sizecompression
- Compression quality(0..100, 100 is maximum quality)- Throws:
IOException
- raised when the image cannot be written
-
-