|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.huguesjohnson.tiamat.graphics.MapFactory
public abstract class MapFactory
MapFactory - Abstract factory to select an appropriate Map for a given file
| Constructor Summary | |
|---|---|
MapFactory()
|
|
| Method Summary | |
|---|---|
static Map |
load(java.lang.String path,
Formatter formatter)
Chooses an appropriate Map for the given file and loads it, throws UnsupportedMapException if one can not be found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapFactory()
| Method Detail |
|---|
public static final Map load(java.lang.String path,
Formatter formatter)
throws UnsupportedMapException
path - The path of the Map to load.formatter - The Formatted used to deserialize the Map.
UnsupportedMapException - If the file can not be deserialized.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||