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)
StringConverter
getString
in interface StringConverter
value
- The String value to check for null.public String getObject(String stringValue)
StringConverter
getObject
in interface StringConverter
stringValue
- the stringValue to do absolutely nothing with, and just return as is.Copyright © 2002-2021 Atlassian. All Rights Reserved.