(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4
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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.