类 BeanUtils


  • public abstract class BeanUtils
    extends Object
    • 构造器详细资料

      • BeanUtils

        public BeanUtils()
    • 方法详细资料

      • getPropertyListenerProxy

        public static <T> T getPropertyListenerProxy​(T bean)
      • getPropertyListenerProxy

        public static <T> T getPropertyListenerProxy​(Class<T> clazz)
      • copyProperties

        public static void copyProperties​(Object source,
                                          Object target,
                                          String... ignoreProperties)
      • copyProperties

        public static void copyProperties​(javax.servlet.ServletRequest source,
                                          Object target,
                                          String... ignoreProperties)
      • copyProperties

        public static <V> void copyProperties​(Map<String,​V> source,
                                              Object target,
                                              String... ignoreProperties)
      • emptyProperties

        public static <T> void emptyProperties​(List<T> beans,
                                               String... properties)
      • deeplyToMap

        public static <T> Map<String,​Object> deeplyToMap​(T bean)
      • match

        public static <T> boolean match​(T item,
                                        Map<String,​Object> map)
      • isEmpty

        public static <T> boolean isEmpty​(T item)
      • getPropertyValue

        public static <T,​V> V getPropertyValue​(T item,
                                                     String propertyName)
      • setPropertyValue

        public static <T,​V> void setPropertyValue​(T item,
                                                        String propertyName,
                                                        V value)