public interface MapFormat
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(java.io.File file)
Find out if a file looks valid to this format.
|
Map |
read(java.io.File file)
Read a File and return a Map.
|
void |
write(Map map,
java.io.File file)
Write a map to a file.
|
Map read(java.io.File file) throws MapException
file - The file to read.MapException - If there is a problem reading the map.void write(Map map, java.io.File file) throws MapException
map - The map to write.file - The file to write to.MapException - If there is a problem writing the map.boolean canRead(java.io.File file)
throws MapException
file - The file to check.MapException - If there is a problem reading the file.