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 transform"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"