org.apache.ddlutils.task
Class WriteDataToFileCommand
java.lang.Object
org.apache.ddlutils.task.DatabaseCommand
org.apache.ddlutils.task.ConvertingDatabaseCommand
org.apache.ddlutils.task.WriteDataToFileCommand
- All Implemented Interfaces:
- Command
- public class WriteDataToFileCommand
- extends ConvertingDatabaseCommand
Command to dump data from the database into an XML file.
- Version:
- $Revision: 289996 $
- Author:
- Thomas Dudziak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteDataToFileCommand
public WriteDataToFileCommand()
setOutputFile
public void setOutputFile(File outputFile)
- Sets the file to output the data to.
- Parameters:
outputFile
- The output file
setEncoding
public void setEncoding(String encoding)
- Sets the output encoding.
- Parameters:
encoding
- The encoding
execute
public void execute(org.apache.tools.ant.Task task,
Database model)
throws org.apache.tools.ant.BuildException
- Executes this command.
- Parameters:
task
- The executing taskmodel
- The database model
- Throws:
org.apache.tools.ant.BuildException
Copyright © 2005 Apache Software Foundation. All Rights Reserved.