public final class StringValueTransformer<T> extends java.lang.Object implements Transformer<T,java.lang.String>, java.io.Serializable
String.valueOf
on the input object.Modifier and Type | Method and Description |
---|---|
static <T> Transformer<T,java.lang.String> |
stringValueTransformer()
Factory returning the singleton instance.
|
java.lang.String |
transform(T input)
Transforms the input to result by calling
String.valueOf . |
public static <T> Transformer<T,java.lang.String> stringValueTransformer()
T
- the input typepublic java.lang.String transform(T input)
String.valueOf
.transform
in interface Transformer<T,java.lang.String>
input
- the input object to transformCopyright © 2010 - 2020 Adobe. All Rights Reserved