Class HtmlPreviewConverter
java.lang.Object
org.nuxeo.ecm.platform.preview.converters.HtmlPreviewConverter
- All Implemented Interfaces:
Converter,ExternalConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Booleanprotected static Booleanprotected static ConversionServiceDeprecated.since 11.1. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(BlobHolder blobHolder, Map<String, Serializable> parameters) Main method to handle the real Conversion Job.protected static booleanprotected static booleanprotected static ConversionServiceDeprecated.since 11.1.getConverterChain(String srcMT) voidinit(ConverterDescriptor descriptor) Initializes the Converter.Checks if the converter is available.
-
Field Details
-
cs
Deprecated.since 11.1. UseFramework.getService(Class)withConversionServiceinstead. -
canUsePDF2Html
-
canUseOOo2Html
-
-
Constructor Details
-
HtmlPreviewConverter
public HtmlPreviewConverter()
-
-
Method Details
-
getConversionService
Deprecated.since 11.1. UseFramework.getService(Class)withConversionServiceinstead. -
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:ConverterMain method to handle the real Conversion Job.Returned
BlobHoldermust implementCachableBlobHolder, otherwise result won't be cached.- Specified by:
convertin interfaceConverter- Throws:
ConversionException
-
init
Description copied from interface:ConverterInitializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
isConverterAvailable
Description copied from interface:ExternalConverterChecks if the converter is available.- Specified by:
isConverterAvailablein interfaceExternalConverter
-