|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.replay.utilities.Serializer
public class Serializer
This class contains 2 static methods that are used for serializing and
deserializing files with just 1 Object
each
Constructor Summary | |
---|---|
Serializer()
|
Method Summary | |
---|---|
static java.lang.Object |
deserialize(java.lang.String path)
This method takes a path and deserializes the object from the file at the specified path |
static void |
serialize(java.lang.Object objectToWrite,
java.lang.String path)
This method takes a path and object and writes the object to the file at the specified path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Serializer()
Method Detail |
---|
public static void serialize(java.lang.Object objectToWrite, java.lang.String path)
objectToWrite
- - object to be serialized to the pathpath
- - path for the where to place the serialized filepublic static java.lang.Object deserialize(java.lang.String path)
path
- - path to deserialize the file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |