org.encog.persist

## Interface EncogPersistor

- All Known Implementing Classes:
    PersistART1, PersistBAM, PersistBasicNetwork, PersistBasicPNN, PersistBasicUniverse, PersistBayes, PersistBoltzmann, PersistCPN, PersistHMM, PersistHopfield, PersistNEATPopulation, PersistPrgPopulation, PersistRBFNetwork, PersistSOM, PersistSVM, PersistTrainingContinuation

      public interface EncogPersistor

  This interface defines an Encog Persistor. An Encog persistor will write an Encog object to an EG file.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getFileVersion()`
    `String` | `getPersistClassString()`
    `Object` | `read(InputStream is)` Read the object from an input stream.
    `void` | `save(OutputStream os, Object obj)` Save the object.

- - ### Method Detail

    - #### getPersistClassString

          String getPersistClassString()

      Returns:
        Get the class string for the object.

    - #### read

          Object read(InputStream is)

      Read the object from an input stream.
      Parameters:
        `is` - The input stream.
      Returns:
        The object.

    - #### save

          void save(OutputStream os,
                  Object obj)

      Save the object.
      Parameters:
        `os` - The output stream to save to.
        `obj` - The object to save.

    - #### getFileVersion

          int getFileVersion()

      Returns:
        Get the file version used by this persistor.

Copyright © 2014. All Rights Reserved.