org.rhq.helpers.perftest.support.input
Class XmlInput
java.lang.Object
org.rhq.helpers.perftest.support.input.XmlInput
- All Implemented Interfaces:
- Input
public class XmlInput
- extends Object
- implements Input
Implements the Input interface for the XML files using the FlatXmlProducer.
- Author:
- Lukas Krejci
|
Method Summary |
void |
close()
Closes any system resources that were used by the producer and prepares the input to
provide a new data set producer with the call to Input.getProducer(). |
org.dbunit.dataset.stream.IDataSetProducer |
getProducer()
The returned producer is assumed to produce a data set that can then be fed into a database. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlInput
public XmlInput(InputStreamProvider provider,
boolean doClose)
close
public void close()
throws IOException
- Description copied from interface:
Input
- Closes any system resources that were used by the producer and prepares the input to
provide a new data set producer with the call to
Input.getProducer().
- Specified by:
close in interface Input
- Throws:
IOException
getProducer
public org.dbunit.dataset.stream.IDataSetProducer getProducer()
throws Exception
- Description copied from interface:
Input
- The returned producer is assumed to produce a data set that can then be fed into a database.
(the specification of the producer is left for the subclasses to define).
- Specified by:
getProducer in interface Input
- Returns:
- the dbUnit data set producer
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.