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 |
---|---|
java.lang.String |
encode(T object)
Encode the given object into a String.
|
java.lang.String encode(T object) throws EncodeException
object
- the object being encoded.EncodeException
- The provided object could not be encoded as a string