de.unidu.is.learning
Class LearnerFactory

java.lang.Object
  extended byde.unidu.is.learning.LearnerFactory

public class LearnerFactory
extends java.lang.Object

A factory returning Learner instances. With this method, it is fairly easy to replace the actual learning class.

Since:
2003-07-17
Version:
$Revision: 1.7 $, $Date: 2005/02/21 17:29:19 $
Author:
Henrik Nottelmann

Constructor Summary
LearnerFactory()
           
 
Method Summary
static Learner newLearner()
          Returns a new Learner instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LearnerFactory

public LearnerFactory()
Method Detail

newLearner

public static Learner newLearner()
Returns a new Learner instance.

This method looks into the config file for the value for de.unidu.is.gnuplot.Learner which is used as the name of the class. If no entry is found, an instance of de.unidu.is.learning.Learner is returned.

Returns:
instance of Learner