public class FullXmlDataFileLoader extends AbstractDataFileLoader
Constructor and Description |
---|
FullXmlDataFileLoader()
Create new instance.
|
FullXmlDataFileLoader(Map ro)
Create new instance with replacement objects.
|
FullXmlDataFileLoader(Map ro,
Map rs)
Create new instance with replacement objects and replacement substrings.
|
Modifier and Type | Method and Description |
---|---|
protected IDataSet |
loadDataSet(URL url)
Make the dbUnit dataset (
IDataSet ) from the
input stream of a dbUnit data file. |
addReplacementObjects, addReplacementSubstrings, load, processReplacementTokens, removeAllReplacementObjects, removeAllReplacementSubstrings
public FullXmlDataFileLoader()
public FullXmlDataFileLoader(Map ro)
replacementObjects
- The replacement objects for use with
ReplacementDataSet
.public FullXmlDataFileLoader(Map ro, Map rs)
ro
- The replacement objects for use with
ReplacementDataSet
.rs
- The replacement substrings for use with
ReplacementDataSet
.protected IDataSet loadDataSet(URL url) throws DataSetException, IOException
IDataSet
) from the
input stream of a dbUnit data file. The type of dbUnit dataset created is
delegated to the implementing subclass.loadDataSet
in class AbstractDataFileLoader
url
- The dbUnit data file url.DataSetException
- On data errors.IOException
- On file errors.Copyright © 2002–2017. All rights reserved.