|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsource.ucregents.playground.gui.Loader
public class Loader
Designed to handle Saving and Loading in the game. Hopefully to be replaced with Castor (http://www.castor.org) as it handles the XML Parsing behind the scenes and auto-magically.
Constructor Summary | |
---|---|
Loader(java.io.File loadFrom)
Constructor for serializing entities to an XML file. |
Method Summary | |
---|---|
java.util.Vector<BaseEntity> |
processDOM()
Going to be used to parse out the XML in the Load process. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Loader(java.io.File loadFrom)
ents
- Entities to serializesaveTo
- XML File to save toMethod Detail |
---|
public java.util.Vector<BaseEntity> processDOM() throws java.lang.Exception
urlString
- Path to XML to read from
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |