org.cantaloop.cgimlet
Class Main
java.lang.Object
|
+--org.cantaloop.cgimlet.ProjectRunner
|
+--org.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)
, configure the codegeneration with the
setXXX
methods and call ProjectRunner.run()
.
- Version:
- 0.2.0 ($Revision: 1.9 $)
- Author:
- Stefan Heimann
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
setProjectFile
public void setProjectFile(java.io.File f)
- Set the project file.
- Parameters:
f
- a File
value
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.
- Parameters:
args
- the commandline arguments.
getUsage
public static final java.lang.String getUsage()
- Returns a string that contains information about
how to use the codegeneration from the commandline.
- Returns:
- a
String
value