public class WriteDataToFileCommand extends ConvertingDatabaseCommand
| Constructor and Description |
|---|
WriteDataToFileCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DatabaseTaskBase task,
Database model)
Executes this command.
|
void |
setDetermineSchema(boolean determineSchema)
Deprecated.
Will be removed once proper schema support is in place
|
void |
setEncoding(String encoding)
Specifies the encoding of the XML file.
|
void |
setOutputFile(File outputFile)
Specifies the file to write the data XML to.
|
addConfiguredConverter, getDataIOgetCatalogPattern, getDatabaseType, getDataSource, getPlatform, getSchemaPattern, isRequiringModel, setPlatformConfigurationhandleException, isFailOnError, setFailOnErrorpublic void setOutputFile(File outputFile)
outputFile - The output filepublic void setEncoding(String encoding)
encoding - The encodingpublic void setDetermineSchema(boolean determineSchema)
determineSchema - Whether to try to find the table's schemaspublic void execute(DatabaseTaskBase task, Database model) throws org.apache.tools.ant.BuildException
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.