Class ObjectFormatter.ObjectToClassName
- java.lang.Object
-
- com.lightbend.cinnamon.opentracing.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.lightbend.cinnamon.opentracing.ObjectFormatter
ObjectFormatter.ObjectToClassName, ObjectFormatter.ObjectToString
-
-
Constructor Summary
Constructors Constructor Description ObjectToClassName()
-
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
-
-