ca.nengo.io
Class FileManager
java.lang.Object
ca.nengo.io.FileManager
public class FileManager
- extends java.lang.Object
Handles saving and loading of Node
TODO: a better job (this is a quick one)
TODO: is there any metadata to store?
TODO: test
- Author:
- Bryan Tripp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENSEMBLE_EXTENSION
public static final java.lang.String ENSEMBLE_EXTENSION
- See Also:
- Constant Field Values
FileManager
public FileManager()
getDefaultLocation
public static java.io.File getDefaultLocation()
setDefaultLocation
public static void setDefaultLocation(java.io.File location)
save
public void save(Node node,
java.io.File destination)
throws java.io.IOException
- Throws:
java.io.IOException
save
public void save(TimeSeries timeSeries,
java.io.File destination)
throws java.io.IOException
- Throws:
java.io.IOException
load
public java.lang.Object load(java.io.File source)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException