org.jete.db
Class FlatXmlDataSetWrapper

java.lang.Object
  extended byorg.jete.db.FlatXmlDataSetWrapper
All Implemented Interfaces:
DataSetWrapper

public class FlatXmlDataSetWrapper
extends java.lang.Object
implements DataSetWrapper

Simplify access to the FlatXmlDataSet, allowing configurations to simply be a filepath. This cleans up system test configuration files because File objects don't need to be defined (you could if you still wanted to, just use the SimpleDataSetWrapper).

Version:
$Id: FlatXmlDataSetWrapper.html,v 1.1 2006/03/12 02:46:57 tdeast Exp $

Field Summary
 java.lang.String filePath
           
 
Constructor Summary
FlatXmlDataSetWrapper(java.lang.String filePath)
           
 
Method Summary
 org.dbunit.dataset.IDataSet getDataSet()
           
 java.lang.String getFilePath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filePath

public java.lang.String filePath
Constructor Detail

FlatXmlDataSetWrapper

public FlatXmlDataSetWrapper(java.lang.String filePath)
Method Detail

getDataSet

public org.dbunit.dataset.IDataSet getDataSet()
                                       throws org.dbunit.dataset.DataSetException,
                                              java.io.IOException
Specified by:
getDataSet in interface DataSetWrapper
Throws:
org.dbunit.dataset.DataSetException
java.io.IOException

getFilePath

public java.lang.String getFilePath()