接口的使用
cn.taketoday.core.conversion.ConditionalConverter
使用ConditionalConverter的程序包
程序包
说明
Type Conversion System
Default implementation of the type conversion system.
-
cn.taketoday.core.conversion中ConditionalConverter的使用
修饰符和类型接口说明interfaceAGenericConverterthat may conditionally execute based on attributes of thesourceandtargetTypeDescriptor. -
cn.taketoday.core.conversion.support中ConditionalConverter的使用
修饰符和类型类说明(专用程序包) classAConditionalConverterbase implementation for enum-based converters.(专用程序包) final classConverts an array to another array.(专用程序包) final classConverts an array to a Collection.(专用程序包) final classConverts an array to an Object by returning the first array element after converting it to the desired target type.(专用程序包) final classConverts an array to a comma-delimited String.(专用程序包) final classConverts aByteBufferdirectly to and frombyte[] ByteBufferdirectly to and frombyte[]sand indirectly to any type that theConversionServicesupport viabyte[].(专用程序包) final classConverts a Collection to an array.(专用程序包) final classConverts from a Collection to another Collection.(专用程序包) final classConverts a Collection to an Object by returning the first collection element after converting it to the desired targetType.(专用程序包) final classConverts a Collection to a comma-delimited String.(专用程序包) final classCallsEnum.ordinal()to convert a source Enum to a Integer.(专用程序包) final classCallsEnum.name()to convert a source Enum to a String.(专用程序包) final classSimply callsObject.toString()to convert any supported object to aString.private final classAdapts aConverterto aGenericConverter.private final classAdapts aConverterFactoryto aGenericConverter.(专用程序包) final classConverts an entity identifier to a entity reference by calling a static finder method on the target entity type.(专用程序包) final classConverts a Map to another Map.(专用程序包) final classConverts from any JDK-standard Number implementation to any other JDK-standard Number implementation.(专用程序包) final classConverts an Object to a single-element array containing the Object.(专用程序包) final classConverts an Object to a single-element Collection containing the Object.(专用程序包) final classGeneric converter that uses conventions to convert a source object to atargetTypeby delegating to a method on the source object or to a static factory method or constructor on thetargetType.(专用程序包) final classConvert an Object tojava.util.Optional<T>if necessary using theConversionServiceto convert the source Object to the generic type of Optional when known.(专用程序包) classConverts aStreamto and from a collection or array, converting the element type if necessary.(专用程序包) final classConverts a comma-delimited String to an Array.(专用程序包) final classConverts a comma-delimited String to a Collection.