T
- The type of the custom developer object that this Encoder can encode into a String.public static interface Encoder.Text<T> extends Encoder
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
Modifier and Type | Method and Description |
---|---|
String |
encode(T object)
Encode the given object into a String.
|
String encode(T object) throws EncodeException
object
- the object being encoded.EncodeException
- The provided object could not be encoded as a stringCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.