public abstract class AbstractFormatterString extends Object implements Function<Object,String>
Function interface that provides the
common functionality.| Constructor and Description |
|---|
AbstractFormatterString()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getValueAsString(Object aValue)
Convert the source value to a string by using the
TypeConverter. |
String |
toString() |
@OverrideOnDemand @Nonnull protected String getValueAsString(@Nullable Object aValue)
TypeConverter.aValue - The value to be converted to a stringnull
.Copyright © 2014–2022 Philip Helger. All rights reserved.