Class CompositeConversionService
java.lang.Object
org.apache.camel.spring.boot.util.CompositeConversionService
- All Implemented Interfaces:
org.springframework.core.convert.ConversionService
public class CompositeConversionService
extends Object
implements org.springframework.core.convert.ConversionService
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeConversionService
(List<org.springframework.core.convert.ConversionService> delegates) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class<?> sourceType, Class<?> targetType) boolean
canConvert
(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType) <T> T
convert
(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.ConversionService
convert
-
Constructor Details
-
CompositeConversionService
public CompositeConversionService(List<org.springframework.core.convert.ConversionService> delegates)
-
-
Method Details
-
canConvert
- Specified by:
canConvert
in interfaceorg.springframework.core.convert.ConversionService
-
canConvert
public boolean canConvert(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType) - Specified by:
canConvert
in interfaceorg.springframework.core.convert.ConversionService
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.ConversionService
-
convert
public Object convert(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType) - Specified by:
convert
in interfaceorg.springframework.core.convert.ConversionService
-