Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
OOoRunner test harness

stats
Class OutProducerFactory

java.lang.Object
  |
  +--stats.OutProducerFactory

public class OutProducerFactory
extends Object

A factory class for creating out producers.


Constructor Summary
OutProducerFactory()
           
 
Method Summary
static LogWriter createDataBaseOutProducer(Hashtable param)
          Create a databbase out producer.
static LogWriter createOutProducer(Hashtable param)
          Create an out producer.
static LogWriter createSimpleOutProducer()
          As a fallback, create a simple out producer, if all else failed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutProducerFactory

public OutProducerFactory()
Method Detail

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.

OOoRunner test harness

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.