org.encog.persist
public final class PersistorRegistry extends Object
Modifier and Type | Method and Description |
---|---|
void |
add(EncogPersistor persistor)
Add a persistor.
|
static PersistorRegistry |
getInstance() |
EncogPersistor |
getPersistor(Class<?> clazz)
Get a persistor.
|
EncogPersistor |
getPersistor(String name)
Get the persistor by name.
|
public static PersistorRegistry getInstance()
public void add(EncogPersistor persistor)
persistor
- The persistor to add.public EncogPersistor getPersistor(Class<?> clazz)
clazz
- The class to get the persistor for.public EncogPersistor getPersistor(String name)
name
- The name of the persistor.Copyright © 2014. All Rights Reserved.