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. |
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 filethumbnailWidth - the width of the thumbnailthumbnailHeight - the height of the thumbnailthumbnailMimeType - the mime type of the thumbnailthumbnail - the thumbnail data
- Returns:
- a file with a thumbnail
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.