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.persist
Interface EncogPersistor

All Known Implementing Classes:
  PersistART1, PersistBAM, PersistBasicNetwork, PersistBasicPNN, PersistBayes, PersistBoltzmann, PersistCPN, PersistHMM, PersistHopfield, PersistNEATNetwork, PersistNEATPopulation, 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
`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.

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.