|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.util.obj.SerializeObject
public final class SerializeObject
Load or save an object using Java serialization.
Method Summary | |
---|---|
static Serializable |
load(File filename)
Load an object. |
static void |
save(File filename,
Serializable object)
Save the specified object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |