Language
The Free and Open Productivity Suite
stats
Class OutProducerFactory
java.lang.Object
|
+--stats.OutProducerFactory
- public class OutProducerFactory
- extends Object
A factory class for creating out producers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutProducerFactory
public OutProducerFactory()
createOutProducer
public static LogWriter createOutProducer(Hashtable param)
- Create an out producer. The type that is created depends on the
parameters given. These are:
- DataBaseOut - If set to true, a database outproducer is created.
- OutProducer - The value of this parameter names the class that is created.
- Parameters:
Parameters
- of the test.- Returns:
- The created out producer.
createDataBaseOutProducer
public static LogWriter createDataBaseOutProducer(Hashtable param)
- Create a databbase out producer.
- Parameters:
The
- test parameters- Returns:
- The database out producer, or null if it couldn't be created.
createSimpleOutProducer
public static LogWriter createSimpleOutProducer()
- As a fallback, create a simple out producer, if all else failed.
- Returns:
- A simple out producer, writing to the screen.