public class StringMarshaller extends Object implements Marshaller<String>
Constructor and Description |
---|
StringMarshaller() |
Modifier and Type | Method and Description |
---|---|
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 void writePayload(String object, DataOutput dataOut) throws IOException
writePayload
in interface Marshaller<String>
object
- dataOut
- IOException
public String readPayload(DataInput dataIn) throws IOException
readPayload
in interface Marshaller<String>
dataIn
- IOException
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.