Class ObjectFormatter.ObjectToString
- java.lang.Object
-
- com.lightbend.cinnamon.opentracing.ObjectFormatter.ObjectToString
-
- All Implemented Interfaces:
ObjectFormatter
- Enclosing interface:
- ObjectFormatter
public static class ObjectFormatter.ObjectToString extends java.lang.Object implements ObjectFormatter
Useobject.toString()
for string representations of objects.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.lightbend.cinnamon.opentracing.ObjectFormatter
ObjectFormatter.ObjectToClassName, ObjectFormatter.ObjectToString
-
-
Constructor Summary
Constructors Constructor Description ObjectToString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
formatToString(java.lang.Object object)
Create string representation of an object.
-
-
-
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 interfaceObjectFormatter
- Parameters:
object
- the object to format as a string- Returns:
- a string representation of the Object argument
-
-