| Constructor and Description |
|---|
BinderConversionService(org.springframework.core.convert.ConversionService conversionService)
Create a new
BinderConversionService instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class<?> sourceType,
Class<?> targetType) |
boolean |
canConvert(org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType) |
<T> T |
convert(Object source,
Class<T> targetType) |
Object |
convert(Object source,
org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType) |
public BinderConversionService(org.springframework.core.convert.ConversionService conversionService)
BinderConversionService instance.conversionService - and option root conversion servicepublic boolean canConvert(Class<?> sourceType, Class<?> targetType)
canConvert in interface org.springframework.core.convert.ConversionServicepublic boolean canConvert(org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType)
canConvert in interface org.springframework.core.convert.ConversionServicepublic <T> T convert(Object source, Class<T> targetType)
convert in interface org.springframework.core.convert.ConversionServiceCopyright © 2017 Pivotal Software, Inc.. All rights reserved.