org.encog.util.obj
public final class SerializeObject extends Object
Modifier and Type | Method and Description |
---|---|
static Serializable |
load(File filename)
Load an object.
|
static void |
save(File filename,
Serializable object)
Save the specified object.
|
public static Serializable load(File filename) throws IOException, ClassNotFoundException
filename
- The filename.IOException
- An IO error occurred.ClassNotFoundException
- The specified class can't be found.public static void save(File filename, Serializable object) throws IOException
filename
- The filename to save.object
- The object to save.IOException
- An IO error occurred.Copyright © 2014. All Rights Reserved.