|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.users.user.VoogaUserSerializer
public class VoogaUserSerializer
Serializer for VoogaUser objects. Responsible for writing them out to a file and reading them back in.
Constructor Summary | |
---|---|
VoogaUserSerializer()
|
Method Summary | |
---|---|
static VoogaUser |
loadData(java.lang.String username)
Used to read in a VoogaUser that has been saved to a file |
static void |
saveData(VoogaUser userToBeSaved)
Saves a given VoogaUser to a file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VoogaUserSerializer()
Method Detail |
---|
public static void saveData(VoogaUser userToBeSaved)
userToBeSaved
- the user to be savedpublic static VoogaUser loadData(java.lang.String username)
username
- the name of the VoogaUser we wish to read in
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |