|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.persist.PersistorRegistry
public final class PersistorRegistry
Registry to hold persistors. This is a singleton.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |