public class StringConverterImpl extends Object implements StringConverter
| Constructor and Description |
|---|
StringConverterImpl() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertNullToEmpty(String value)
Returns Empty String if the passed value is null, else returns the original value.
|
String |
getObject(String stringValue)
This method is a no-op, but I guess it was included for consistency with other Converters.
|
String |
getString(String value)
Just turns null into an empty string.
|
public String getString(String value)
StringConvertergetString in interface StringConvertervalue - The String value to check for null.public String getObject(String stringValue)
StringConvertergetObject in interface StringConverterstringValue - the stringValue to do absolutely nothing with, and just return as is.Copyright © 2002-2017 Atlassian. All Rights Reserved.