public class StringMarshaller extends Object implements Marshaller<String>
| Modifier and Type | Field and Description |
|---|---|
static StringMarshaller |
INSTANCE |
| Constructor and Description |
|---|
StringMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
String |
deepCopy(String source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
String |
readPayload(DataInput dataIn)
Read the entry from the RawContainer
|
void |
writePayload(String object,
DataOutput dataOut)
Write the payload of this entry to the RawContainer
|
public static final StringMarshaller INSTANCE
public StringMarshaller()
public void writePayload(String object, DataOutput dataOut) throws IOException
writePayload in interface Marshaller<String>object - dataOut - IOExceptionpublic String readPayload(DataInput dataIn) throws IOException
readPayload in interface Marshaller<String>dataIn - IOExceptionpublic int getFixedSize()
getFixedSize in interface Marshaller<String>public String deepCopy(String source)
deepCopy in interface Marshaller<String>public boolean isDeepCopySupported()
isDeepCopySupported in interface Marshaller<String>Marshaller.deepCopy(Object) operations is supported.Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.