public class ScreenshotConverter extends Object implements Converter
| Modifier and Type | Field and Description |
|---|---|
static String |
FFMPEG_SCREENSHOT_COMMAND |
static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
ScreenshotConverter() |
| Modifier and Type | Method and Description |
|---|---|
BlobHolder |
convert(BlobHolder blobHolder,
Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.
|
void |
init(ConverterDescriptor descriptor)
Initializes the Converter.
|
public static final org.apache.commons.logging.Log log
public static final String FFMPEG_SCREENSHOT_COMMAND
public ScreenshotConverter()
public void init(ConverterDescriptor descriptor)
ConverterThis can be used to retrieve some configuration information from the XMap Descriptor.
public BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Converter
Returned BlobHolder must implement CachableBlobHolder, otherwise result won't be cached.
convert in interface ConverterConversionExceptionCopyright © 2019 Nuxeo. All rights reserved.