public class OperationSetThumbnailedFileFactoryImpl extends java.lang.Object implements OperationSetThumbnailedFileFactory
Constructor and Description |
---|
OperationSetThumbnailedFileFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
createFileWithThumbnail(java.io.File file,
int thumbnailWidth,
int thumbnailHeight,
java.lang.String thumbnailMimeType,
byte[] thumbnail)
Creates a file, by attaching the thumbnail, given by the details, to it.
|
public OperationSetThumbnailedFileFactoryImpl()
public java.io.File createFileWithThumbnail(java.io.File file, int thumbnailWidth, int thumbnailHeight, java.lang.String thumbnailMimeType, byte[] thumbnail)
createFileWithThumbnail
in interface OperationSetThumbnailedFileFactory
file
- the base filethumbnailWidth
- the width of the thumbnailthumbnailHeight
- the height of the thumbnailthumbnailMimeType
- the mime type of the thumbnailthumbnail
- the thumbnail data
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.