Class Utils


  • public class Utils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.gson.Gson GSON  
    • Constructor Summary

      Constructors 
      Constructor Description
      Utils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.gson.JsonObject getWritableProperties​(java.lang.Object bean)
      Returns the values for all bean properties that are writable.
      • Methods inherited from class java.lang.Object

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

      • GSON

        public static final com.google.gson.Gson GSON
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • getWritableProperties

        public static com.google.gson.JsonObject getWritableProperties​(java.lang.Object bean)
        Returns the values for all bean properties that are writable.
        Parameters:
        bean - the bean to get the properties for
        Returns:
        a map from property name to property value