@Component(value="data_AuditConversionService") public class AuditConversionServiceImpl extends java.lang.Object implements AuditConversionService
Constructor and Description |
---|
AuditConversionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addConverter(org.springframework.core.convert.converter.Converter<?,?> converter) |
void |
addConverters(java.util.Collection<org.springframework.core.convert.converter.Converter<?,?>> converters) |
boolean |
canConvert(java.lang.Class<?> sourceType,
java.lang.Class<?> targetType) |
<T> T |
convert(java.lang.Object source,
java.lang.Class<T> targetType) |
org.springframework.core.convert.support.GenericConversionService |
getConversionService() |
public boolean canConvert(@Nullable java.lang.Class<?> sourceType, java.lang.Class<?> targetType)
canConvert
in interface AuditConversionService
ConversionService.canConvert(Class, Class)
public <T> T convert(@Nullable java.lang.Object source, java.lang.Class<T> targetType)
convert
in interface AuditConversionService
ConversionService.convert(Object, Class)
public void addConverter(org.springframework.core.convert.converter.Converter<?,?> converter)
public void addConverters(java.util.Collection<org.springframework.core.convert.converter.Converter<?,?>> converters)
public org.springframework.core.convert.support.GenericConversionService getConversionService()