类 BeanUtils


  • public class BeanUtils
    extends cn.hutool.core.bean.BeanUtil
    Bean解析工具类
    从以下版本开始:
    2020年8月29日
    作者:
    ylyue
    • 构造器概要

      构造器 
      构造器 说明
      BeanUtils()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static String getGEtMethodName​(String fieldName)
      获得Java Bean Get方法名
      static String getSetMethodName​(String fieldName)
      获得Java Bean Set方法名
      • 从类继承的方法 cn.hutool.core.bean.BeanUtil

        beanToMap, beanToMap, beanToMap, beanToMap, copyProperties, copyProperties, copyProperties, copyProperties, createDynaBean, descForEach, fillBean, fillBeanWithMap, fillBeanWithMap, fillBeanWithMap, fillBeanWithMap, fillBeanWithMapIgnoreCase, findEditor, getBeanDesc, getFieldValue, getProperty, getPropertyDescriptor, getPropertyDescriptor, getPropertyDescriptorMap, getPropertyDescriptors, hasGetter, hasNullField, hasPublicField, hasSetter, isBean, isEmpty, isMatchName, isNotEmpty, isReadableBean, mapToBean, mapToBean, mapToBean, mapToBeanIgnoreCase, setFieldValue, setProperty, toBean, toBean, toBean, toBeanIgnoreCase, toBeanIgnoreError, trimStrFields
    • 字段详细资料

      • GET_METHOD_NAME_FORMAT

        public static final String GET_METHOD_NAME_FORMAT
        另请参阅:
        常量字段值
      • SET_METHOD_NAME_FORMAT

        public static final String SET_METHOD_NAME_FORMAT
        另请参阅:
        常量字段值
    • 构造器详细资料

      • BeanUtils

        public BeanUtils()
    • 方法详细资料

      • getGEtMethodName

        public static String getGEtMethodName​(String fieldName)
        获得Java Bean Get方法名
        参数:
        fieldName - 字段名
        返回:
        Get方法名
      • getSetMethodName

        public static String getSetMethodName​(String fieldName)
        获得Java Bean Set方法名
        参数:
        fieldName - 字段名
        返回:
        Get方法名