|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgizmoball.xmlparser.XMLParser
public class XMLParser
XMLParser is a factory class used to generate XML files from the current gizmoball game or load a new game from a given XML file
Method Summary | |
---|---|
static WorldModel |
readXMLFile(java.io.FileInputStream f)
Through a file chooser called through the GUI, this method loads XML files corresponding to gizmoball and returns a WorldModel corresponding to that file |
static void |
writeXMLFile(WorldModel wm,
java.io.FileOutputStream f)
Creates the XML file from saving a game |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WorldModel readXMLFile(java.io.FileInputStream f)
public static void writeXMLFile(WorldModel wm, java.io.FileOutputStream f)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |