com.agimatec.dbtransform
Class CatalogGeneratorTool

java.lang.Object
  extended by com.agimatec.commons.generator.GeneratorTool
      extended by com.agimatec.dbtransform.CatalogGeneratorTool

public class CatalogGeneratorTool
extends GeneratorTool

Description: tool to transform a catalog description from one dbms to another.
User: roman.stumm
Date: 05.06.2007
Time: 15:25:13
Copyright: Agimatec GmbH


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class com.agimatec.commons.generator.GeneratorTool
dbms, settings, templateEngine
 
Constructor Summary
CatalogGeneratorTool()
           
 
Method Summary
protected  File getCatalogFile(String destDir, String templateBaseName)
           
protected  CatalogConversion getConfig()
           
protected  String getDestFile(String templateBaseName)
           
 void initialize(GeneratorSettings gsettings)
           
static void main(String[] args)
           
protected  void readConfig(File configFile)
           
 
Methods inherited from class com.agimatec.commons.generator.GeneratorTool
generate, runMain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

CatalogGeneratorTool

public CatalogGeneratorTool()
Method Detail

getConfig

protected CatalogConversion getConfig()
Specified by:
getConfig in class GeneratorTool

readConfig

protected void readConfig(File configFile)
                   throws IOException,
                          ClassNotFoundException
Specified by:
readConfig in class GeneratorTool
Throws:
IOException
ClassNotFoundException

getDestFile

protected String getDestFile(String templateBaseName)
Overrides:
getDestFile in class GeneratorTool

getCatalogFile

protected File getCatalogFile(String destDir,
                              String templateBaseName)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

initialize

public void initialize(GeneratorSettings gsettings)
                throws IOException
Overrides:
initialize in class GeneratorTool
Throws:
IOException


Copyright © 2008-2012. All Rights Reserved.