public class KilogramToGramConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.ConditionalGenericConverter
| Constructor and Description |
|---|
KilogramToGramConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convert(java.lang.Object object,
org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType) |
java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> |
getConvertibleTypes() |
boolean |
matches(org.springframework.core.convert.TypeDescriptor typeDescriptor,
org.springframework.core.convert.TypeDescriptor typeDescriptor1) |
public boolean matches(org.springframework.core.convert.TypeDescriptor typeDescriptor,
org.springframework.core.convert.TypeDescriptor typeDescriptor1)
matches in interface org.springframework.core.convert.converter.ConditionalConverterpublic java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
getConvertibleTypes in interface org.springframework.core.convert.converter.GenericConverterpublic java.lang.Object convert(java.lang.Object object,
org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType)
convert in interface org.springframework.core.convert.converter.GenericConverter