org.dbunit.ant
Class Export
java.lang.Object
org.dbunit.ant.AbstractStep
org.dbunit.ant.Export
- All Implemented Interfaces:
- DbUnitTaskStep
public class Export
- extends AbstractStep
The Export
class is the step that facilitates exporting
the contents of the database and/or it's corresponding dtd to a file.
The export can be performed on a full dataset or a partial one if
specific table names are identified.
- Since:
- Jun 10, 2002
- Version:
- $Revision: 629 $
- Author:
- Timothy Ruppert, Ben Cox
- See Also:
DbUnitTaskStep
Export
public Export()
getDest
public File getDest()
getFormat
public String getFormat()
getTables
public List getTables()
setDest
public void setDest(File dest)
setFormat
public void setFormat(String format)
addTable
public void addTable(Table table)
addQuery
public void addQuery(Query query)
addQuerySet
public void addQuerySet(QuerySet querySet)
getDoctype
public String getDoctype()
setDoctype
public void setDoctype(String doctype)
execute
public void execute(IDatabaseConnection connection)
throws DatabaseUnitException
- Throws:
DatabaseUnitException
getLogMessage
public String getLogMessage()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2011. All Rights Reserved.