public class DefaultStringBridge extends Object implements StringBridge
toString
method or return null
if the object is null
.Modifier and Type | Field and Description |
---|---|
static DefaultStringBridge |
INSTANCE |
Constructor and Description |
---|
DefaultStringBridge() |
Modifier and Type | Method and Description |
---|---|
DefaultStringBridge |
getInstance() |
String |
objectToString(Object object)
Converts the object representation to a string.
|
public static final DefaultStringBridge INSTANCE
public String objectToString(Object object)
StringBridge
objectToString
in interface StringBridge
object
- The object to transform into a string representation.null
. It can be empty though.@Factory public DefaultStringBridge getInstance()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved