Package org.miaixz.bus.core.bean.copier
Class ValueToBeanCopier<T>
java.lang.Object
org.miaixz.bus.core.bean.copier.AbstractCopier<ValueProvider<String>,T>
org.miaixz.bus.core.bean.copier.ValueToBeanCopier<T>
- Type Parameters:
T- 目标Bean类型
- All Implemented Interfaces:
Copier<T>
ValueProvider属性拷贝到Bean中的拷贝器- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields inherited from class org.miaixz.bus.core.bean.copier.AbstractCopier
copyOptions, source, target -
Constructor Summary
ConstructorsConstructorDescriptionValueToBeanCopier(ValueProvider<String> source, T target, Type targetType, CopyOptions copyOptions) 构造 -
Method Summary
Methods inherited from class org.miaixz.bus.core.bean.copier.AbstractCopier
getBeanDesc
-
Constructor Details
-
ValueToBeanCopier
public ValueToBeanCopier(ValueProvider<String> source, T target, Type targetType, CopyOptions copyOptions) 构造- Parameters:
source- 来源Maptarget- 目标Bean对象targetType- 目标泛型类型copyOptions- 拷贝选项
-
-
Method Details
-
copy
Description copied from interface:Copier执行拷贝- Returns:
- 拷贝的目标
-