Modifier and Type | Field and Description |
---|---|
static String |
THUMBNAIL_COMMAND |
static String |
THUMBNAIL_CONVERTER_NAME |
static String |
THUMBNAIL_DEFAULT_SIZE |
static String |
THUMBNAIL_SIZE_PARAMETER_NAME |
Constructor and Description |
---|
ThumbnailDocumentConverter() |
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 String THUMBNAIL_CONVERTER_NAME
public static final String THUMBNAIL_SIZE_PARAMETER_NAME
public static final String THUMBNAIL_DEFAULT_SIZE
public static final String THUMBNAIL_COMMAND
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 Converter
ConversionException
public void init(ConverterDescriptor descriptor)
Converter
This can be used to retrieve some configuration information from the XMap Descriptor.
Copyright © 2013 Nuxeo SA. All Rights Reserved.