|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbe.saltwater.jaqel.creature.loaders.XMLCreatureLoader
| Constructor Summary | |
XMLCreatureLoader()
|
|
| Method Summary | |
CreatureLoadData |
load(java.lang.String filename,
java.lang.String type)
Loads the file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLCreatureLoader()
throws javax.xml.parsers.ParserConfigurationException
| Method Detail |
public CreatureLoadData load(java.lang.String filename,
java.lang.String type)
throws java.io.IOException,
IllegalFormatException
CreatureLoader
load in interface CreatureLoaderfilename - The filename of the file that should be loaded.type - The type key of the creature that is in the file. Needed to pass to the CreatureTypeData constructor.
java.io.IOException - When there was a problem reading the specified file.
IllegalFormatException - When the format of the file is not as expected.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||