Interface ThumbnailBuilder
-
- All Known Implementing Classes:
AbstractThumbnailBuilder
,EpubThumbnailBuilder
,ImageThumbnailBuilder
,Mp3ThumbnailBuilder
,PdfThumbnailBuilder
,VideoThumbnailBuilder
public interface ThumbnailBuilder
Implementations of this interface are specialized classes that produce thumbnails for a specific type of document.- Since:
- 4.5
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Abstract 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
void buildThumbnail(String sid, Document document, String fileVersion, File src, File dest, int size, int quality) throws IOException
Produce the thumbnail- Parameters:
sid
- The session identifier (optional)document
- The documentfileVersion
- Optional file version specsrc
- The source filesize
- The thumbnail sizedest
- The destination thumbnail filequality
- Compression quality(0..100, 100 is maximum quality)- Throws:
IOException
- raised when the image cannot be written
-
-