Class PropertyUtils


  • public class PropertyUtils
    extends java.lang.Object
    Utility class for setting JavaBeans-style properties on instances.
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Class getPropertyType​(java.lang.Class instanceClass, java.lang.String propertyName)  
      static void setProperty​(java.lang.Object instance, java.lang.String name, java.lang.String value)  
      static void setPropertyRealValue​(java.lang.Object instance, java.lang.String name, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyUtils

        public PropertyUtils()
    • Method Detail

      • setProperty

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

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

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