public final class MapWriter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
writeMap(Map map,
java.io.File file,
MapFormat format)
Write a Map to a file.
|
static void |
writeMap(Map map,
java.lang.String file,
MapFormat format)
Write a map to a file.
|
public static void writeMap(Map map, java.lang.String file, MapFormat format) throws MapException
map
- The map to write.file
- The name of the file to write to.format
- The MapFormat to write.MapException
- If there is a problem writing the map.public static void writeMap(Map map, java.io.File file, MapFormat format) throws MapException
map
- The map to write.file
- The file to write to.format
- The MapFormat to write.MapException
- If there is a problem writing the map.