public class XmlOutput extends Object implements Output
Output interface to output the database data into an XML file using
FlatXmlWriter.| Constructor and Description |
|---|
XmlOutput(OutputStream stream,
boolean doClose) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
public XmlOutput(OutputStream stream, boolean doClose)
public org.dbunit.dataset.stream.IDataSetConsumer getConsumer()
throws Exception
OutputgetConsumer in interface OutputExceptionpublic void close()
throws IOException
Outputclose in interface OutputIOExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.