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

    Methods
    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.

    - ### 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.

Copyright © 2014. All Rights Reserved.