Class HtmlPreviewConverter
java.lang.Object
org.nuxeo.ecm.platform.preview.converters.HtmlPreviewConverter
- All Implemented Interfaces:
Converter
,ExternalConverter
-
Field Summary
Modifier and TypeFieldDescriptionprotected static Boolean
protected static Boolean
protected static ConversionService
Deprecated.since 11.1. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(BlobHolder blobHolder, Map<String, Serializable> parameters) Main method to handle the real Conversion Job.protected static boolean
protected static boolean
protected static ConversionService
Deprecated.since 11.1.getConverterChain
(String srcMT) void
init
(ConverterDescriptor descriptor) Initializes the Converter.Checks if the converter is available.
-
Field Details
-
cs
Deprecated.since 11.1. UseFramework.getService(Class)
withConversionService
instead. -
canUsePDF2Html
-
canUseOOo2Html
-
-
Constructor Details
-
HtmlPreviewConverter
public HtmlPreviewConverter()
-
-
Method Details
-
getConversionService
Deprecated.since 11.1. UseFramework.getService(Class)
withConversionService
instead. -
getCanUsePDF2Html
protected static boolean getCanUsePDF2Html() -
getCanUseOOo2Html
protected static boolean getCanUseOOo2Html() -
getConverterChain
-
convert
public BlobHolder convert(BlobHolder blobHolder, Map<String, Serializable> parameters) throws ConversionExceptionDescription copied from interface:Converter
Main method to handle the real Conversion Job.Returned
BlobHolder
must implementCachableBlobHolder
, otherwise result won't be cached.- Specified by:
convert
in interfaceConverter
- Throws:
ConversionException
-
init
Description copied from interface:Converter
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
isConverterAvailable
Description copied from interface:ExternalConverter
Checks if the converter is available.- Specified by:
isConverterAvailable
in interfaceExternalConverter
-