Top Description Interfaces Classes
[default module]

Package org.springframework.core.convert.support

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Default implementation of the type conversion system.

Interface Summary

Modifier and TypeInterface and Description
public interface
ConfigurableConversionService

Configuration interface to be implemented by most if not all ConversionService types.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractConditionalEnumConverter

A ConditionalConverter base implementation for enum-based converters.

pack-priv class
ArrayToArrayConverter

Converts an array to another array.

pack-priv class
ArrayToCollectionConverter

Converts an array to a Collection.

pack-priv class
ArrayToObjectConverter

Converts an array to an Object by returning the first array element after converting it to the desired target type.

pack-priv class
ArrayToStringConverter

Converts an array to a comma-delimited String.

pack-priv class
ByteBufferConverter

Converts a ByteBuffer directly to and from byte[] ByteBuffer directly to and from byte[]s and indirectly to any type that the ConversionService support via byte[].

pack-priv class
CharacterToNumberFactory

Converts from a Character to any JDK-standard Number implementation.

pack-priv class
CollectionToArrayConverter

Converts a Collection to an array.

pack-priv class
CollectionToCollectionConverter

Converts from a Collection to another Collection.

pack-priv class
CollectionToObjectConverter

Converts a Collection to an Object by returning the first collection element after converting it to the desired targetType.

pack-priv class
CollectionToStringConverter

Converts a Collection to a comma-delimited String.

public class
pack-priv abstract class
ConversionUtils

Internal utilities for the conversion package.

public class
public class
DefaultConversionService

A specialization of GenericConversionService configured by default with converters appropriate for most environments.

pack-priv class
EnumToIntegerConverter

Calls Enum#ordinal() to convert a source Enum to an Integer.

pack-priv class
EnumToStringConverter

Calls Enum#name() to convert a source Enum to a String.

pack-priv class
FallbackObjectToStringConverter

Simply calls Object#toString() to convert any supported object to a String.

public class
GenericConversionService

Base ConversionService implementation suitable for use in most environments.

pack-priv class
IdToEntityConverter

Converts an entity identifier to an entity reference by calling a static finder method on the target entity type.

pack-priv class
pack-priv class
MapToMapConverter

Converts a Map to another Map.

pack-priv class
NumberToCharacterConverter

Converts from any JDK-standard Number implementation to a Character.

pack-priv class
NumberToNumberConverterFactory

Converts from any JDK-standard Number implementation to any other JDK-standard Number implementation.

pack-priv class
ObjectToArrayConverter

Converts an Object to a single-element array containing the Object.

pack-priv class
ObjectToCollectionConverter

Converts an Object to a single-element Collection containing the Object.

pack-priv class
ObjectToObjectConverter

Generic converter that uses conventions to convert a source object to a targetType by delegating to a method on the source object or to a static factory method or constructor on the targetType.

pack-priv class
ObjectToOptionalConverter

Convert an Object to java.util.Optional<T> if necessary using the ConversionService to convert the source Object to the generic type of Optional when known.

pack-priv class
ObjectToStringConverter

Simply calls Object#toString() to convert a source Object to a String.

pack-priv class
PropertiesToStringConverter

Converts from a Properties to a String by calling Properties#store(java.io.OutputStream, String).

pack-priv class
StreamConverter

Converts a Stream to and from a collection or array, converting the element type if necessary.

pack-priv class
StringToArrayConverter

Converts a comma-delimited String to an Array.

pack-priv class
StringToBooleanConverter

Converts a String to a Boolean.

pack-priv class
StringToCharacterConverter

Converts a String to a Character.

pack-priv class
StringToCharsetConverter

Convert a String to a Charset.

pack-priv class
StringToCollectionConverter

Converts a comma-delimited String to a Collection.

pack-priv class
StringToCurrencyConverter

Convert a String to a Currency.

pack-priv class
pack-priv class
StringToLocaleConverter

Converts from a String to a java.util.Locale.

pack-priv class
StringToNumberConverterFactory

Converts from a String any JDK-standard Number implementation.

pack-priv class
pack-priv class
StringToPropertiesConverter

Converts a String to a Properties by calling Properties#load(java.io.InputStream).

pack-priv class
StringToRegexConverter

Converts from a String to a Kotlin Regex.

pack-priv class
StringToTimeZoneConverter

Convert a String to a TimeZone.

pack-priv class
StringToUUIDConverter

Converts from a String to a java.util.UUID.

pack-priv class
pack-priv class