Example usage for Java org.springframework.core.convert ConversionService fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | canConvert(@Nullable Class> sourceType, Class> targetType) Return true if objects of sourceType can be converted to the targetType . |
boolean | canConvert(@Nullable TypeDescriptor sourceType, TypeDescriptor targetType) Return true if objects of sourceType can be converted to the targetType . |
T | convert(@Nullable Object source, Class Convert the given source to the specified targetType . |
Object | convert(@Nullable Object source, @Nullable TypeDescriptor sourceType, TypeDescriptor targetType) Convert the given source to the specified targetType . |