org.apache.kahadb.util
public class StringMarshaller extends java.lang.Object implements Marshaller<java.lang.String>
Modifier and Type | Field and Description |
---|---|
static StringMarshaller |
INSTANCE |
Constructor and Description |
---|
StringMarshaller() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deepCopy(java.lang.String source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
java.lang.String |
readPayload(java.io.DataInput dataIn)
Read the entry from the RawContainer
|
void |
writePayload(java.lang.String object,
java.io.DataOutput dataOut)
Write the payload of this entry to the RawContainer
|
public static final StringMarshaller INSTANCE
public StringMarshaller()
public void writePayload(java.lang.String object, java.io.DataOutput dataOut) throws java.io.IOException
writePayload
in interface Marshaller<java.lang.String>
object
- dataOut
- java.io.IOException
public java.lang.String readPayload(java.io.DataInput dataIn) throws java.io.IOException
readPayload
in interface Marshaller<java.lang.String>
dataIn
- java.io.IOException
public int getFixedSize()
getFixedSize
in interface Marshaller<java.lang.String>
public java.lang.String deepCopy(java.lang.String source)
deepCopy
in interface Marshaller<java.lang.String>
public boolean isDeepCopySupported()
isDeepCopySupported
in interface Marshaller<java.lang.String>
Marshaller.deepCopy(Object)
operations is supported.Copyright © 2005-2014. All Rights Reserved.