|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mascoptLib.io.util.ClassWriter
Converts an MGL graph into Java language.
It converts a graph into java code. You can include in your java file this code, creating directly the graph into memory without reading the MGL file.
A main program is providede, that you can lauch with "java ClassWriter"
| Constructor Summary | |
ClassWriter(mascoptLib.abstractGraph.AbstractGraph ag,
String name,
String packageName)
This constructor writes directly a file containing java code representing the graph. |
|
| Method Summary | |
static void |
main(String[] args)
The main function launching the converter. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassWriter(mascoptLib.abstractGraph.AbstractGraph ag,
String name,
String packageName)
ag - the graph to writename - the name of the ouptut file without extensionpackageName - the name of the package where this file will be.| Method Detail |
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||