Package | Description |
---|---|
cn.hutool.core.bean |
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean、Bean工具等
|
cn.hutool.core.bean.copier |
Bean拷贝实现,包括拷贝选项等
|
cn.hutool.core.bean.copier.provider |
Bean值提供者方式封装
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
BeanUtil.fillBean(T bean,
ValueProvider<String> valueProvider,
CopyOptions copyOptions)
填充Bean的核心方法
|
static <T> T |
BeanUtil.toBean(Class<T> beanClass,
ValueProvider<String> valueProvider,
CopyOptions copyOptions)
ServletRequest 参数转Bean
|
Constructor and Description |
---|
ValueProviderToBeanCopier(ValueProvider<String> source,
T target,
Type targetType,
CopyOptions copyOptions)
构造
|
Modifier and Type | Class and Description |
---|---|
class |
BeanValueProvider
Bean的值提供者
|
class |
DynaBeanValueProvider
DynaBean值提供者
|
Copyright © 2024. All rights reserved.