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
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.