public abstract class TextEncoder extends Object implements Type.Codec.Encoder
| Constructor and Description |
|---|
TextEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Type type,
Object buffer,
Object value,
Context context) |
protected abstract void |
encode(Type type,
StringBuilder buffer,
Object val,
Context context) |
int |
length(Type type,
Object val,
Context context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInputType, getOutputPrimitiveTypeprotected abstract void encode(Type type, StringBuilder buffer, Object val, Context context) throws IOException
IOExceptionpublic void encode(Type type, Object buffer, Object value, Context context) throws IOException
encode in interface Type.Codec.EncoderIOExceptionpublic int length(Type type, Object val, Context context) throws IOException
length in interface Type.Codec.EncoderIOExceptionCopyright © 2013-2015 impossibl.com. All Rights Reserved.