appl.data
Class SerializedDataLoader
java.lang.Object
appl.data.SerializedDataLoader
- All Implemented Interfaces:
- DataLoader, Serializable
public class SerializedDataLoader
- extends Object
- implements DataLoader
- Author:
- Dominik Appl
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadFile
protected File loadFile
SerializedDataLoader
public SerializedDataLoader(File loadFile,
boolean DELETE_SOURCE_AFTER_LOADING)
SerializedDataLoader
public SerializedDataLoader(File loadFile)
load
public Object load()
throws LoadingException
- Description copied from interface:
DataLoader
- On invocation the data is loaded and returned
- Specified by:
load
in interface DataLoader
- Returns:
- the newly loaded object
- Throws:
LoadingException
- if for some reason the data could not
be loaded
SerializeToFile
public static void SerializeToFile(Object o,
File destFile)
throws LoadingException
- Throws:
LoadingException
getLoadInfo
public String getLoadInfo()
- Specified by:
getLoadInfo
in interface DataLoader
- Returns:
- some general information about the loading class
(like what the class exactly loads)