Class IntrospectionSupport


  • public final class IntrospectionSupport
    extends Object
    • Method Detail

      • getProperties

        public static boolean getProperties​(Object target,
                                            Map props,
                                            String optionPrefix)
      • setProperties

        public static boolean setProperties​(Object target,
                                            Map<String,​?> props,
                                            String optionPrefix)
      • setProperties

        public static boolean setProperties​(Object target,
                                            Map<?,​?> props)
      • setProperties

        public static boolean setProperties​(Object target,
                                            Map<?,​?> props,
                                            boolean removeIfSet)
      • setProperty

        public static boolean setProperty​(Object target,
                                          String name,
                                          Object value)
      • convertToString

        public static String convertToString​(Object value,
                                             Class to)
      • findSetterMethod

        public static Method findSetterMethod​(Class clazz,
                                              String name)
      • findGetterMethod

        public static Method findGetterMethod​(Class clazz,
                                              String name)
      • toString

        public static String toString​(Object target)
      • simpleName

        public static String simpleName​(Class clazz)