org.encog.ca.universe.basic
Class PersistBasicUniverse
- java.lang.Object
-
- org.encog.ca.universe.basic.PersistBasicUniverse
-
- All Implemented Interfaces:
- EncogPersistor
public class PersistBasicUniverse extends java.lang.Object implements EncogPersistor
-
-
Constructor Summary
Constructors Constructor and Description PersistBasicUniverse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetFileVersion()java.lang.StringgetPersistClassString()java.lang.Objectread(java.io.InputStream is)Read the object from an input stream.voidsave(java.io.OutputStream os, java.lang.Object obj)Save the object.
-
-
-
Method Detail
-
getPersistClassString
public java.lang.String getPersistClassString()
- Specified by:
getPersistClassStringin interfaceEncogPersistor- Returns:
- Get the class string for the object.
-
read
public java.lang.Object read(java.io.InputStream is)
Description copied from interface:EncogPersistorRead the object from an input stream.- Specified by:
readin interfaceEncogPersistor- Parameters:
is- The input stream.- Returns:
- The object.
-
save
public void save(java.io.OutputStream os, java.lang.Object obj)Description copied from interface:EncogPersistorSave the object.- Specified by:
savein interfaceEncogPersistor- Parameters:
os- The output stream to save to.obj- The object to save.
-
getFileVersion
public int getFileVersion()
- Specified by:
getFileVersionin interfaceEncogPersistor- Returns:
- Get the file version used by this persistor.
-
-
DMelt 3.0 © DataMelt by jWork.ORG