|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.beangen.BeanGenerator
public class BeanGenerator
Utility class to generate Java Beans based on a FreeMarker Template and XML Bean Definitions.
Constructor Summary | |
---|---|
BeanGenerator(java.lang.String templateDir,
java.lang.String templateName,
java.lang.String outDir,
java.lang.String ext)
Construct a new BeanGenerator |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Application starting point. |
static void |
usage(java.lang.String msg)
Print usage message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanGenerator(java.lang.String templateDir, java.lang.String templateName, java.lang.String outDir, java.lang.String ext) throws BeanException
templateDir
- Template loading directory.templateName
- Template to use when generating beans.outDir
- Output directory.ext
- File extension to use.
BeanException
Method Detail |
---|
public static void usage(java.lang.String msg)
msg
- Error message.public static void main(java.lang.String[] args)
args
- Command line arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |