Class PropertyUtils


  • public class PropertyUtils
    extends Object
    Utility class for setting JavaBeans-style properties on instances.
    Author:
    Cosmin Marginean, Apr 12, 2007
    • Constructor Detail

      • PropertyUtils

        public PropertyUtils()
    • Method Detail

      • setProperty

        public static void setProperty​(Object instance,
                                       String name,
                                       String value)
      • getPropertyType

        public static Class getPropertyType​(Class instanceClass,
                                            String propertyName)
      • setPropertyRealValue

        public static void setPropertyRealValue​(Object instance,
                                                String name,
                                                Object value)