Cantaloop CGimlet - API Documentation, Version: 0.2.0, Date: 2002-05-13 21:30 CEST

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

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.
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

Copyright 2001, 2002 Stefan Heimann, David Leuschner. All rights reserved.