Class ObjectFormatter.ObjectToString

  • All Implemented Interfaces:
    ObjectFormatter
    Enclosing interface:
    ObjectFormatter

    public static class ObjectFormatter.ObjectToString
    extends java.lang.Object
    implements ObjectFormatter
    Use object.toString() for string representations of objects.
    • Constructor Detail

      • ObjectToString

        public ObjectToString()
    • 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