Class ToStringBean


  • public class ToStringBean
    extends Object
    Provides deep Bean toString support.

    It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, ToString objects and multi-dimensional arrays of any of them.

    • Method Detail

      • toString

        public static String toString​(Class<?> beanClass,
                                      Object obj)
        Returns the String representation of the bean given in the constructor.

        It uses the Class name as the prefix.

        Returns:
        bean object String representation.