public class ValueWriter
extends java.lang.Object
Constructor and Description |
---|
ValueWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeAll(ProtocolWriter writer,
java.util.Map<java.lang.String,?> values)
Write all the data from a ProtocolWriter to a Map
|
public void writeAll(ProtocolWriter writer, java.util.Map<java.lang.String,?> values) throws java.io.IOException
writer
- a ProtocolWriter to write the datavalues
- a Map to take the data and act as a data sinkjava.io.IOException
- on failed IO operationsjava.lang.IllegalArgumentException
- on null arguments