Class ObjectToStringUtil


  • public class ObjectToStringUtil
    extends java.lang.Object
    Utility for formatting object to string.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String bundleToString​(android.os.Bundle bundle)
      Bundle object to string, the string would be in the format of "Bundle[{...}]".
      static java.lang.String intentToString​(android.content.Intent intent)
      Intent object to string, the string would be in the format of "Intent { ...
      • Methods inherited from class java.lang.Object

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

      • ObjectToStringUtil

        public ObjectToStringUtil()
    • Method Detail

      • bundleToString

        public static java.lang.String bundleToString​(android.os.Bundle bundle)
        Bundle object to string, the string would be in the format of "Bundle[{...}]".
      • intentToString

        public static java.lang.String intentToString​(android.content.Intent intent)
        Intent object to string, the string would be in the format of "Intent { ... }".