com.github.springtestdbunit.dataset
Class FlatXmlDataSetLoader
java.lang.Object
com.github.springtestdbunit.dataset.AbstractDataSetLoader
com.github.springtestdbunit.dataset.FlatXmlDataSetLoader
- All Implemented Interfaces:
- DataSetLoader
public class FlatXmlDataSetLoader
- extends AbstractDataSetLoader
A data set loader that can be used to load xml datasets
- Author:
- Phillip Webb
|
Method Summary |
protected org.dbunit.dataset.IDataSet |
createDataSet(org.springframework.core.io.Resource resource)
Factory method used to create the dataset |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatXmlDataSetLoader
public FlatXmlDataSetLoader()
createDataSet
protected org.dbunit.dataset.IDataSet createDataSet(org.springframework.core.io.Resource resource)
throws Exception
- Description copied from class:
AbstractDataSetLoader
- Factory method used to create the
dataset
- Specified by:
createDataSet in class AbstractDataSetLoader
- Parameters:
resource - an existing resource that contains the dataset data
- Returns:
- a dataset
- Throws:
Exception - if the dataset could not be loaded
Copyright © 2012. All Rights Reserved.