Class VideoThumbnailBuilder

  • All Implemented Interfaces:
    ThumbnailBuilder

    public class VideoThumbnailBuilder
    extends AbstractThumbnailBuilder
    Takes care of generating thumbnails for videos
    Since:
    8.2
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • VideoThumbnailBuilder

        public VideoThumbnailBuilder()
    • 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 document
        fileVersion - Optional file version spec
        src - The source file
        dest - The destination thumbnail file
        size - The thumbnail size
        quality - Compression quality(0..100, 100 is maximum quality)
        Throws:
        IOException - raised when the image cannot be written