org.apache.ddlutils.task
Class ConvertingDatabaseCommand

java.lang.Object
  extended byorg.apache.ddlutils.task.DatabaseCommand
      extended byorg.apache.ddlutils.task.ConvertingDatabaseCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
WriteDataToDatabaseCommand, WriteDataToFileCommand

public abstract class ConvertingDatabaseCommand
extends DatabaseCommand

Base type for database commands that use converters.

Version:
$Revision: 289996 $
Author:
Thomas Dudziak

Constructor Summary
ConvertingDatabaseCommand()
           
 
Method Summary
 void addConfiguredConverter(DataConverterRegistration converterRegistration)
          Registers a converter.
protected  void registerConverters(ConverterConfiguration converterConf)
          Registers the converters at the given configuration.
 
Methods inherited from class org.apache.ddlutils.task.DatabaseCommand
getDatabaseType, getDataSource, getPlatform, isFailOnError, isRequiringModel, setFailOnError, setPlatformConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ddlutils.task.Command
execute
 

Constructor Detail

ConvertingDatabaseCommand

public ConvertingDatabaseCommand()
Method Detail

addConfiguredConverter

public void addConfiguredConverter(DataConverterRegistration converterRegistration)
Registers a converter.

Parameters:
converterRegistration - The registration info

registerConverters

protected void registerConverters(ConverterConfiguration converterConf)
                           throws org.apache.tools.ant.BuildException
Registers the converters at the given configuration.

Parameters:
converterConf - The converter configuration
Throws:
org.apache.tools.ant.BuildException


Copyright © 2005 Apache Software Foundation. All Rights Reserved.