程序包 cn.taketoday.core.conversion
package cn.taketoday.core.conversion
Type Conversion System
- 作者:
- TODAY 2021/3/27 10:43
-
类说明Allows a
Converter,GenericConverterorConverterFactoryto conditionally execute based on attributes of thesourceandtargetTypeDescriptor.AGenericConverterthat may conditionally execute based on attributes of thesourceandtargetTypeDescriptor.Base class for exceptions thrown by the conversion system.Exception to be thrown when an actual type conversion attempt fails.A service interface for type conversion.Converter<S,T> A converter converts a source object of typeSto a target of typeT.ConverterFactory<S,R> A factory for "ranged" converters that can convert objects from S to subtypes of R.Exception to be thrown when a suitable converter could not be found in a given conversion service.For registering converters with a type conversion system.ConvertingComparator<S,T> AComparatorthat converts values before they are compared.Generic converter interface for converting between two or more types.Holder for a source-to-target class pair.