Class ValueRenderers.FormatString

java.lang.Object
com.simsilica.lemur.ValueRenderers.FormatString
All Implemented Interfaces:
Function<Object,String>
Enclosing class:
ValueRenderers

public static class ValueRenderers.FormatString extends Object implements Function<Object,String>
Converts a value to a String by passing it into String.format() using the supplied format string. Similar to SafeToString, a nullString value can be provided that will be used for null values. If nullString is not specified then the value is passed to String.format() as is.