convert library
Classes
- ConditionalConverter
- A contract for a converter that only matches under certain conditions.
- ConfigurableConversionService
- A configurable conversion service that allows dynamic registration of converters.
- ConversionService
- A strategy interface for type conversion.
-
ConversionServiceConverter<
S, T> - A Converter that delegates to a ConversionService for converting values.
- ConversionServiceFactory
- Utility class for registering a set of converters with a ConverterRegistry.
- ConversionUtils
- Utility class containing common operations used by conversion infrastructure.
-
Converter<
S, T> -
A generic interface for converting an input of type
S
into an output of typeT
. -
ConverterFactory<
S, R> -
A factory for creating Converter instances that convert from a source type
S
to a target typeT
, whereT
is a subtype ofR
. - ConverterRegistry
- A registry of converters and converter factories used to perform type conversions at runtime.
- ConvertiblePair
- Represents a pair of source and target types for type conversion.
-
ConvertingComparator<
S, T> -
A comparator that compares source values of type
S
by first converting them to another typeT
using a Converter, then applying aComparator
onT
. - DefaultConversionService
- A specialization of SimpleConversionService configured by default with converters appropriate for most environments.
- GenericNullConverter
- A contract for a converter that only matches under certain conditions.
- ListableConverterRegistry
-
A ConverterRegistry that also provides access to registered
UriValidator
instances. - PairedConditionalConverter
- A bridge interface combining PairedConverter and ConditionalConverter.
- PairedConverter
- A general-purpose converter that can convert between multiple source–target type pairs.
- SimpleConversionService
- A comprehensive type conversion service that handles conversion between different types.
Exceptions / Errors
- ConversionException
- Exception thrown when a type conversion fails in a ConversionService.
- ConversionFailedException
- Exception thrown when an actual type conversion attempt fails.
- ConverterNotFoundException
- Exception thrown when no suitable converter can be found for a given source and target type.