Documentation of 'org.encog.util.obj.SerializeObject' Java class
SerializeObject
org.encog.util.obj

Class SerializeObject



  • public final class SerializeObject
    extends java.lang.Object
    Load or save an object using Java serialization.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.io.Serializable load(java.io.File filename)
      Load an object.
      static void save(java.io.File filename, java.io.Serializable object)
      Save the specified object.
      static java.io.Serializable serializeClone(java.io.Serializable source) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • load

        public static java.io.Serializable load(java.io.File filename)
                                         throws java.io.IOException,
                                                java.lang.ClassNotFoundException
        Load an object.
        Parameters:
        filename - The filename.
        Returns:
        The loaded object.
        Throws:
        java.io.IOException - An IO error occurred.
        java.lang.ClassNotFoundException - The specified class can't be found.
      • save

        public static void save(java.io.File filename,
                                java.io.Serializable object)
                         throws java.io.IOException
        Save the specified object.
        Parameters:
        filename - The filename to save.
        object - The object to save.
        Throws:
        java.io.IOException - An IO error occurred.
      • serializeClone

        public static java.io.Serializable serializeClone(java.io.Serializable source)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.