|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.jadv.server.manager.FileDatabaseManager
This class saves all GameObjects into simple files!
Constructor Summary | |
FileDatabaseManager()
Constructor of the FileDatabaseManager |
Method Summary | |
void |
deleteObject(java.lang.String id)
Delete an Object from the Database |
SavedObject |
getObject(java.lang.String id)
Returns the Object, that is stored inside the database or null if there isn't any object available. |
void |
saveObject(SavedObject obj)
Save an SavedObject inside the database. |
void |
shutdown()
Closes the database and the ObjectManager will no longer do anything else! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileDatabaseManager()
Method Detail |
public void deleteObject(java.lang.String id)
deleteObject
in interface DatabaseManager
id
- Id of the Object that should be deletedpublic SavedObject getObject(java.lang.String id)
getObject
in interface DatabaseManager
id
- The id of the searched object
public void saveObject(SavedObject obj)
saveObject
in interface DatabaseManager
obj
- public void shutdown()
shutdown
in interface DatabaseManager
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |