com.pmdesigns.jvc.tools
Class JVCGenerator

java.lang.Object
  extended by com.pmdesigns.jvc.tools.JVCGenerator

public class JVCGenerator
extends java.lang.Object

Generate the a working web application (the view and controller part) based on a set view templates.


Field Summary
static java.lang.String GENERATOR_METHOD_NAME
           
static java.lang.String MACHINE_GENERATED_1
           
static java.lang.String MACHINE_GENERATED_2
           
static java.lang.String TEMPLATE_SUFFIX
           
 
Constructor Summary
JVCGenerator()
           
 
Method Summary
static java.lang.String capitalize(java.lang.String s)
           
 void generate()
           
static void main(java.lang.String[] args)
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MACHINE_GENERATED_1

public static final java.lang.String MACHINE_GENERATED_1
See Also:
Constant Field Values

MACHINE_GENERATED_2

public static final java.lang.String MACHINE_GENERATED_2
See Also:
Constant Field Values

GENERATOR_METHOD_NAME

public static final java.lang.String GENERATOR_METHOD_NAME
See Also:
Constant Field Values

TEMPLATE_SUFFIX

public static final java.lang.String TEMPLATE_SUFFIX
See Also:
Constant Field Values
Constructor Detail

JVCGenerator

public JVCGenerator()
Method Detail

usage

public static void usage()

main

public static void main(java.lang.String[] args)

generate

public void generate()
              throws java.lang.Exception
Throws:
java.lang.Exception

capitalize

public static java.lang.String capitalize(java.lang.String s)