Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.cantaloop.cgimlet
Class Main  view Main download Main.java

java.lang.Object
  extended byorg.cantaloop.cgimlet.ProjectRunner
      extended byorg.cantaloop.cgimlet.Main

public class Main
extends ProjectRunner

Entry point of the code generation when starting it from the command line.

This class can also be used to invoke the codegeneration from within another program. Just set the project file with setProjectFile(File) 55 , configure the codegeneration with the setXXX methods and call ProjectRunner.run() 55 .

Version:
@version@ ($Revision: 1.9 $)

Field Summary
 
Fields inherited from class org.cantaloop.cgimlet.ProjectRunner
m_debug, m_prettyPrinting, m_prjFile, m_quiet, m_verbose, s_gen
 
Constructor Summary
Main()
           
 
Method Summary
static java.lang.String getUsage()
          Returns a string that contains information about how to use the codegeneration from the commandline.
static void main(java.lang.String[] args)
          This method is called when starting the codegeneration from the commandline by the VM, passing the commandline arguments as parameter.
 void setProjectFile(java.io.File f)
          Set the project file.
 
Methods inherited from class org.cantaloop.cgimlet.ProjectRunner
getCopyright, getProjectGenerator, getVersion, run, runAndCatch, setDebug, setPrettyPrinting, setProjectFile, setQuiet, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

setProjectFile

public void setProjectFile(java.io.File f)
Set the project file.


main

public static void main(java.lang.String[] args)
This method is called when starting the codegeneration from the commandline by the VM, passing the commandline arguments as parameter.


getUsage

public static final java.lang.String getUsage()
Returns a string that contains information about how to use the codegeneration from the commandline.