Class Utility


  • public class Utility
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Utility()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.Object> convertObjToMap​(java.lang.Object obj, java.lang.Class type)  
      static java.lang.String getQueryString​(java.util.Map<java.lang.String,​java.lang.Object> params, java.lang.String charset)  
      • Methods inherited from class java.lang.Object

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

      • Utility

        public Utility()
    • Method Detail

      • convertObjToMap

        public static java.util.Map<java.lang.String,​java.lang.Object> convertObjToMap​(java.lang.Object obj,
                                                                                             java.lang.Class type)
      • getQueryString

        public static java.lang.String getQueryString​(java.util.Map<java.lang.String,​java.lang.Object> params,
                                                      java.lang.String charset)
                                               throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException