Class ConverterDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.convert.extension.ConverterDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanbypassIfSameMimeTypestatic StringCHAINED_CONVERTER_TYPEprotected Class<?>classNameprotected StringconverterNameprotected StringconverterTypestatic StringCUSTOM_CONVERTER_TYPEprotected StringdestinationMimeTypeprotected Converterinstanceprotected Loglogprotected Map<String,String>parametersprotected List<String>sourceMimeTypesprotected List<String>stepsprotected List<String>subConvertersprotected booleanwrappedTransformer
-
Constructor Summary
Constructors Constructor Description ConverterDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConvertergetConverterInstance()StringgetConverterName()StringgetConverterType()StringgetDestinationMimeType()Map<String,String>getParameters()List<String>getSourceMimeTypes()List<String>getSteps()voidinitConverter()booleanisBypassIfSameMimeType()Returns whether the conversion should be bypassed if the input blob mime type equals the converter destination mime type.ConverterDescriptormerge(ConverterDescriptor other)
-
-
-
Field Detail
-
log
protected final Log log
-
CUSTOM_CONVERTER_TYPE
public static final String CUSTOM_CONVERTER_TYPE
- See Also:
- Constant Field Values
-
CHAINED_CONVERTER_TYPE
public static final String CHAINED_CONVERTER_TYPE
- See Also:
- Constant Field Values
-
instance
protected Converter instance
-
converterName
protected String converterName
-
destinationMimeType
protected String destinationMimeType
-
className
protected Class<?> className
-
converterType
protected String converterType
-
bypassIfSameMimeType
protected Boolean bypassIfSameMimeType
-
wrappedTransformer
protected boolean wrappedTransformer
-
-
Method Detail
-
isBypassIfSameMimeType
public boolean isBypassIfSameMimeType()
Returns whether the conversion should be bypassed if the input blob mime type equals the converter destination mime type.- Since:
- 11.1
-
getConverterName
public String getConverterName()
-
getDestinationMimeType
public String getDestinationMimeType()
-
initConverter
public void initConverter()
-
getConverterInstance
public Converter getConverterInstance()
-
merge
public ConverterDescriptor merge(ConverterDescriptor other)
-
getConverterType
public String getConverterType()
-
-