Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.util.obj
Class SerializeObject

    java.lang.Object
      org.encog.util.obj.SerializeObject

    public final class SerializeObject

extends Object

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

### load

    public static Serializable load(File filename)
                             throws IOException,
                                    ClassNotFoundException

  Load an object.

  Parameters:
    `filename` - The filename.
  Returns:
    The loaded object.
  Throws:
    `IOException` - An IO error occurred.
    `ClassNotFoundException` - The specified class can't be found.

### save

    public static void save(File filename,
                            Serializable object)
                     throws IOException

  Save the specified object.

  Parameters:
    `filename` - The filename to save.
    `object` - The object to save.
  Throws:
    `IOException` - An IO error occurred.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.