public class GDLDumper
extends java.lang.Object
Constructor and Description |
---|
GDLDumper() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpComponentAsGDL(ConfigurationManager cm,
java.io.PrintStream out,
java.lang.String name)
Dumps the given component as GDL to the given stream
|
static void |
dumpGDLFooter(java.io.PrintStream out)
Dumps the footer for GDL output
|
static void |
dumpGDLHeader(java.io.PrintStream out)
Outputs the GDL header
|
static java.lang.String |
getColor(ConfigurationManager ConfigurationManager,
java.lang.String componentName)
Gets the color for the given component
|
static void |
showConfigAsGDL(ConfigurationManager ConfigurationManager,
java.lang.String path)
Dumps the config as a GDL plot
|
public static void dumpComponentAsGDL(ConfigurationManager cm, java.io.PrintStream out, java.lang.String name)
cm
- configuration managerout
- where to dump the GDLname
- the name of the component to dumppublic static void showConfigAsGDL(ConfigurationManager ConfigurationManager, java.lang.String path) throws java.io.IOException
ConfigurationManager
- managerpath
- where to output the GDLjava.io.IOException
- if an error occurspublic static void dumpGDLHeader(java.io.PrintStream out)
out
- the output streampublic static java.lang.String getColor(ConfigurationManager ConfigurationManager, java.lang.String componentName)
ConfigurationManager
- managercomponentName
- the name of the component @return the color name for the componentpublic static void dumpGDLFooter(java.io.PrintStream out)
out
- the output stream