| Modifier and Type | Field and Description |
|---|---|
static StringCodec |
INSTANCE |
| Constructor and Description |
|---|
StringCodec() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
decode(java.io.DataInput dataIn)
Read the entry from the RawContainer
|
java.lang.String |
deepCopy(java.lang.String source) |
void |
encode(java.lang.String object,
java.io.DataOutput dataOut)
Write the payload of this entry to the RawContainer
|
int |
estimatedSize(java.lang.String object) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
boolean |
isEstimatedSizeSupported() |
public static final StringCodec INSTANCE
public void encode(java.lang.String object,
java.io.DataOutput dataOut)
throws java.io.IOException
public java.lang.String decode(java.io.DataInput dataIn)
throws java.io.IOException
public int getFixedSize()
getFixedSize in interface Codec<java.lang.String>public java.lang.String deepCopy(java.lang.String source)
public boolean isDeepCopySupported()
isDeepCopySupported in interface Codec<java.lang.String>Codec.deepCopy(Object) operations is supported.public boolean isEstimatedSizeSupported()
isEstimatedSizeSupported in interface Codec<java.lang.String>Codec.estimatedSize(Object) operation is supported.public int estimatedSize(java.lang.String object)
estimatedSize in interface Codec<java.lang.String>Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.