com.agimatec.dbtransform
Class ScriptTransformatorTool
java.lang.Object
com.agimatec.commons.generator.GeneratorTool
com.agimatec.dbtransform.ScriptTransformatorTool
- All Implemented Interfaces:
- FilenameFilter
public class ScriptTransformatorTool
- extends GeneratorTool
- implements 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 Object 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
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
runMain
public void runMain(String[] args,
ScriptTransformatorSettings settings)
throws Exception
- Throws:
Exception
getSettings
protected ScriptTransformatorSettings getSettings()
accept
public boolean accept(File dir,
String name)
- decide which scripts to be transformed
- Specified by:
accept in interface FilenameFilter
getPrefix
public String getPrefix()
Copyright © 2008-2012. All Rights Reserved.