public static String defaultString(final Object value, final String defaultValue) {
    return value == null ? defaultValue : value.toString();
  }
Gets the value of the specified Object as a String. If the Object is null then the first
non-null String value from the array of default String value is returned. If the array of
String values is null or all the elements in the default String values array are null, then the
value of String.valueOf(value) is returned.
<p>

@param value the Object who's String representation is being evaluated.
@param defaultValue an array of default String values to assess if the specified Object value
       is null.
@return a String representation of the specified Object value or one of the default String
        values from the array if the Object value is null. If either the default String array
        is null or all the elements are null, then the String value of String.valueOf(value) is
        returned.
@see java.lang.String#valueOf(Object)
geode-core/src/main/java/org/apache/geode/internal/lang/StringUtils.java