public class FileSerializer<T extends Serializable> extends Object implements Serializer<T>
| Constructor and Description |
|---|
FileSerializer(File root,
T initialValue) |
public void writeToDisk(T value) throws IOException
writeToDisk in interface Serializer<T extends Serializable>IOExceptionpublic T readLatest() throws IOException
readLatest in interface Serializer<T extends Serializable>IOExceptionCopyright © 2013. All Rights Reserved.