Class ImageThumbnailBuilder
- java.lang.Object
-
- com.logicaldoc.core.document.thumbnail.AbstractThumbnailBuilder
-
- com.logicaldoc.core.document.thumbnail.ImageThumbnailBuilder
-
- All Implemented Interfaces:
ThumbnailBuilder
- Direct Known Subclasses:
PdfThumbnailBuilder
public class ImageThumbnailBuilder extends AbstractThumbnailBuilder
Takes care of images thumbnail builder- Since:
- 4.5
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description ImageThumbnailBuilder()
-
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 quality)
Produce the thumbnail
-
-
-
Method Detail
-
buildThumbnail
public void buildThumbnail(String sid, Document document, String fileVersion, File src, File dest, int size, int quality) throws IOException
Description copied from interface:ThumbnailBuilder
Produce the thumbnail- Parameters:
sid
- The session identifier (optional)document
- The documentfileVersion
- Optional file version specsrc
- The source filedest
- The destination thumbnail filesize
- The thumbnail sizequality
- Compression quality(0..100, 100 is maximum quality)- Throws:
IOException
- raised when the image cannot be written
-
-