Class ObjectFormatter.ObjectToClassName

  • All Implemented Interfaces:
    ObjectFormatter
    Enclosing interface:
    ObjectFormatter

    public static class ObjectFormatter.ObjectToClassName
    extends java.lang.Object
    implements ObjectFormatter
    Use class name for string representations of objects.
    • Constructor Detail

      • ObjectToClassName

        public ObjectToClassName()
    • Method Detail

      • formatToString

        public java.lang.String formatToString​(java.lang.Object object)
        Description copied from interface: ObjectFormatter
        Create string representation of an object.
        Specified by:
        formatToString in interface ObjectFormatter
        Parameters:
        object - the object to format as a string
        Returns:
        a string representation of the Object argument