Class PogoMain
java.lang.Object
|
+--PogoMain
- public class PogoMain
- extends java.lang.Object
This class is the entry point of pogo.gene package.
That means that this class is only used to generate server from a
ClassName.pogo file. It contains only main method,
and a simple interface to use pogo generator.
- Version:
- $Revision: 1.22 $
- Author:
- $Author: verdier $
Field Summary |
private java.lang.String[] |
lang
Just an array to convert language type to languange string to display. |
private static PogoClass |
pogo
The Pogo Class containing all the device server project structure. |
private static java.lang.String |
rcsString
The RCS string containing name, date, and revision... |
Constructor Summary |
PogoMain()
Constructor for this text interface class. |
Method Summary |
private void |
generate()
Choose the good method to generated files. |
static void |
main(java.lang.String[] argv)
main method for the device server class |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
rcsString
private static java.lang.String rcsString
- The RCS string containing name, date, and revision...
This string will be used by RcsString class to check version and display title.
pogo
private static PogoClass pogo
- The Pogo Class containing all the device server project structure.
lang
private java.lang.String[] lang
- Just an array to convert language type to languange string to display.
PogoMain
public PogoMain()
- Constructor for this text interface class.
generate
private void generate()
throws java.io.FileNotFoundException,
java.lang.SecurityException,
java.io.IOException,
PogoException
- Choose the good method to generated files.
Depending on the input and output file language.
- Throws:
- java.io.FileNotFoundException - Thrown from the method to generated files.
- java.lang.SecurityException - Thrown from the method to generated files.
- java.io.IOException - Thrown from the method to generated files.
- PogoException - If the language selected is unknown.
main
public static void main(java.lang.String[] argv)
- main method for the device server class
- Parameters:
argv
- argv[0] must contain the input file to be read as definition.
It could be a ClassName.pogo ClassName.java or ClassName.cpp file.