Top Description Constructors Methods
org.springframework.core.convert.support

pack-priv abstract Class ConversionUtils

extends Object
Class Inheritance
Imports
org.springframework.core.convert.ConversionFailedException, .ConversionService, .TypeDescriptor, org.springframework.core.convert.converter.GenericConverter, org.springframework.lang.Nullable, org.springframework.util.Assert, .ClassUtils

Internal utilities for the conversion package.
Authors
Keith Donald, Stephane Nicoll
Since
3.0

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static boolean
canConvertElements(TypeDescriptor sourceElementType, TypeDescriptor targetElementType, ConversionService conversionService)

public static Class<?>
getEnumType(Class<?> targetType)

public static Object
invokeConverter(GenericConverter converter, Object source, TypeDescriptor sourceType, TypeDescriptor targetType)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ConversionUtilsback to summary
pack-priv ConversionUtils()

Method Detail

canConvertElementsback to summary
public static boolean canConvertElements(TypeDescriptor sourceElementType, TypeDescriptor targetElementType, ConversionService conversionService)
getEnumTypeback to summary
public static Class<?> getEnumType(Class<?> targetType)
invokeConverterback to summary
public static Object invokeConverter(GenericConverter converter, Object source, TypeDescriptor sourceType, TypeDescriptor targetType)
Annotations
@Nullable