public class SpringTypeConverter extends Object implements TypeConverter
TypeConverter
implementation baacked by a Spring ConversionService
Constructor and Description |
---|
SpringTypeConverter(org.springframework.core.convert.ConversionService conversionService) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class<?> sourceType,
Class<?> targetType) |
<T> T |
convert(Object source,
Class<T> targetType) |
public SpringTypeConverter(org.springframework.core.convert.ConversionService conversionService)
public boolean canConvert(Class<?> sourceType, Class<?> targetType)
canConvert
in interface TypeConverter
public <T> T convert(Object source, Class<T> targetType)
convert
in interface TypeConverter
Copyright © 2018 Open eHealth Foundation. All rights reserved.