org.unitils.dbunit.util
Class MultiSchemaXmlDataSetReaderExtend
java.lang.Object
org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
org.unitils.dbunit.util.MultiSchemaXmlDataSetReaderExtend
public class MultiSchemaXmlDataSetReaderExtend
- extends MultiSchemaXmlDataSetReader
A simple extension on th allowing to work with
inputstreams instead of Files.
- Since:
- 1.0.2
- Author:
- Thomas De Rycke
- See Also:
- Unitils
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiSchemaXmlDataSetReaderExtend
public MultiSchemaXmlDataSetReaderExtend(String defaultSchemaName)
- Parameters:
defaultSchemaName -
getDefaultSchemaName
public String getDefaultSchemaName()
- Returns:
- the defaultSchemaName
setDefaultSchemaName
public void setDefaultSchemaName(String defaultSchemaName)
- Parameters:
defaultSchemaName - the defaultSchemaName to set
readDataSetXml
public MultiSchemaDataSet readDataSetXml(List<InputStream> inputStreams)
throws UnitilsException
- Parses the datasets from the given inputStreams.
Each schema is given its own dataset and each row is given its own table.
- Parameters:
inputStreams - The inputstreams , not null
- Returns:
- The read data set, not null
- Throws:
UnitilsException
Copyright © 2014. All Rights Reserved.