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, wait
getInputType, getOutputPrimitiveType
protected abstract void encode(Type type, StringBuilder buffer, Object val, Context context) throws IOException
IOException
public void encode(Type type, Object buffer, Object value, Context context) throws IOException
encode
in interface Type.Codec.Encoder
IOException
public int length(Type type, Object val, Context context) throws IOException
length
in interface Type.Codec.Encoder
IOException
Copyright © 2013-2015 impossibl.com. All Rights Reserved.