Class ConverterDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.convert.extension.ConverterDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
bypassIfSameMimeType
static String
CHAINED_CONVERTER_TYPE
protected Class<?>
className
protected String
converterName
protected String
converterType
static String
CUSTOM_CONVERTER_TYPE
protected String
destinationMimeType
protected Converter
instance
protected Log
log
protected Map<String,String>
parameters
protected List<String>
sourceMimeTypes
protected List<String>
steps
protected List<String>
subConverters
protected boolean
wrappedTransformer
-
Constructor Summary
Constructors Constructor Description ConverterDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Converter
getConverterInstance()
String
getConverterName()
String
getConverterType()
String
getDestinationMimeType()
Map<String,String>
getParameters()
List<String>
getSourceMimeTypes()
List<String>
getSteps()
void
initConverter()
boolean
isBypassIfSameMimeType()
Returns whether the conversion should be bypassed if the input blob mime type equals the converter destination mime type.ConverterDescriptor
merge(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()
-
-