public class ToStringEncoder extends CoderAdapter implements Encoder.Text<java.lang.Object>
Object.toString() method.Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>| Constructor and Description | 
|---|
| ToStringEncoder() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | encode(java.lang.Object object)Encode the given object into a String. | 
destroy, initpublic java.lang.String encode(java.lang.Object object)
                        throws EncodeException
Encoder.Textencode in interface Encoder.Text<java.lang.Object>object - the object being encoded.EncodeException - The provided object could not be encoded as a stringCopyright © 2012–2020 Oracle Corporation. All rights reserved.