net.java.sip.communicator.impl.protocol.jabber
Class OperationSetThumbnailedFileFactoryImpl
java.lang.Object
net.java.sip.communicator.impl.protocol.jabber.OperationSetThumbnailedFileFactoryImpl
- All Implemented Interfaces:
- OperationSet, OperationSetThumbnailedFileFactory
public class OperationSetThumbnailedFileFactoryImpl
- extends Object
- implements OperationSetThumbnailedFileFactory
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationSetThumbnailedFileFactoryImpl
public OperationSetThumbnailedFileFactoryImpl()
createFileWithThumbnail
public 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.
- Specified by:
createFileWithThumbnail in interface OperationSetThumbnailedFileFactory
- 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.