org.rhq.helpers.perftest.support.output
Class CsvOutput
java.lang.Object
org.rhq.helpers.perftest.support.output.CsvOutput
- All Implemented Interfaces:
- Output
- Direct Known Subclasses:
- ZippedCsvOutput
public class CsvOutput
- extends Object
- implements Output
Implements the Output interface to support output to a set of CSV files using CsvDataSetWriter.
- Author:
- Lukas Krejci
|
Method Summary |
void |
close()
Closes any system resources that were used by the consumer. |
org.dbunit.dataset.stream.IDataSetConsumer |
getConsumer()
The returned consumer is assumed to consume a data set and produce some kind of output
(the specification of which is left for the subclasses to define). |
protected File |
getDirectory()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsvOutput
public CsvOutput(File directory)
getDirectory
protected File getDirectory()
getConsumer
public org.dbunit.dataset.stream.IDataSetConsumer getConsumer()
throws Exception
- Description copied from interface:
Output
- The returned consumer is assumed to consume a data set and produce some kind of output
(the specification of which is left for the subclasses to define).
- Specified by:
getConsumer in interface Output
- Returns:
- the dbUnit data set consumer
- Throws:
Exception
close
public void close()
throws IOException
- Description copied from interface:
Output
- Closes any system resources that were used by the consumer.
- Specified by:
close in interface Output
- Throws:
IOException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.