org.sqlorm.metadatadumper
Class ConstantsDump
java.lang.Object
org.sqlorm.metadatadumper.ConstantsDump
public class ConstantsDump
- extends Object
Class to read meta data from a database and create classes containing constants based upon that meta data.
This class is written in Java5 style, but can easily be translated to Java 4 style.
- Author:
- Kasper B. Graversen, (c) 2007-2008
Method Summary |
void |
dumpMetaData()
When calling this method, you must have set the connection info and the format info or call
parseArguments() . |
static void |
main(String[] args)
|
void |
parseArguments(String... args)
|
ConstantsDump
public ConstantsDump(ConnectionInfo connInfo,
FormatInfo formatInfo)
throws Exception
- Throws:
Exception
ConstantsDump
public ConstantsDump()
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
parseArguments
public void parseArguments(String... args)
dumpMetaData
public void dumpMetaData()
throws Exception
- When calling this method, you must have set the connection info and the format info or call
parseArguments()
.
- Throws:
Exception
- See Also:
parseArguments(String...)