com.agimatec.dbtransform
Class ScriptTransformatorTool
java.lang.Object
com.agimatec.commons.generator.GeneratorTool
com.agimatec.dbtransform.ScriptTransformatorTool
- All Implemented Interfaces:
- java.io.FilenameFilter
public class ScriptTransformatorTool
- extends GeneratorTool
- implements java.io.FilenameFilter
Description: Transform (migration) scripts from one DBMS dialect to another
(postgres to oracle)
User: roman.stumm
Date: 17.12.2007
Time: 11:57:10
Copyright: Agimatec GmbH
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptTransformatorTool
public ScriptTransformatorTool()
getConfig
protected java.lang.Object getConfig()
- Specified by:
getConfig in class GeneratorTool
readConfig
protected void readConfig(java.io.File configFile)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readConfig in class GeneratorTool
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
runMain
public void runMain(java.lang.String[] args,
ScriptTransformatorSettings settings)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSettings
protected ScriptTransformatorSettings getSettings()
accept
public boolean accept(java.io.File dir,
java.lang.String name)
- decide which scripts to be transformed
- Specified by:
accept in interface java.io.FilenameFilter
getPrefix
public java.lang.String getPrefix()
Copyright © 2008-2012. All Rights Reserved.