public final class MapUtils
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
MapUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
dump(java.util.Map m,
java.io.Writer writer)
Dump the map in name=value lines
|
static java.lang.String |
toString(java.util.Map m)
Get a string representation of the content in the map
|
public static void dump(java.util.Map m, java.io.Writer writer) throws java.io.IOException
m
- the mapwriter
- the writerjava.io.IOException
- if there's IO problempublic static java.lang.String toString(java.util.Map m) throws java.io.IOException
m
- the mapjava.io.IOException