Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol
Interface OperationSetThumbnailedFileFactory

All Superinterfaces:
OperationSet
All Known Implementing Classes:
OperationSetThumbnailedFileFactoryImpl

public interface OperationSetThumbnailedFileFactory
extends OperationSet

The OperationSetThumbnailedFileFactory is meant to be used by bundles interested in making files with thumbnails. For example the user interface can be interested in sending files with thumbnails through the OperationSetFileTransfer.

Author:
Yana Stamcheva

Method Summary
 File createFileWithThumbnail(File file, int thumbnailWidth, int thumbnailHeight, String thumbnailMimeType, byte[] thumbnail)
          Creates a file, by attaching the thumbnail, given by the details, to it.
 

Method Detail

createFileWithThumbnail

File createFileWithThumbnail(File file,
                             int thumbnailWidth,
                             int thumbnailHeight,
                             String thumbnailMimeType,
                             byte[] thumbnail)
Creates a file, by attaching the thumbnail, given by the details, to it.

Parameters:
file - the base file
thumbnailWidth - the width of the thumbnail
thumbnailHeight - the height of the thumbnail
thumbnailMimeType - the mime type of the thumbnail
thumbnail - the thumbnail data
Returns:
a file with a thumbnail

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.