|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.output.DotFormatter
public class DotFormatter
A formatter that will transform a machine profile into a graph in dot syntax. The dot syntax is that used by GraphViz.
| Method Summary | |
|---|---|
java.lang.String |
getFileExtension()
Return the file extension for files written with this formatter. |
java.lang.String |
getFormatKey()
Returns the name of the formatter that will be used to identify it. |
static DotFormatter |
getInstance()
|
void |
write(Element root,
java.lang.String rootName,
java.io.PrintWriter ps)
Reads this Tree and writes it in a file within the given context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DotFormatter getInstance()
public java.lang.String getFileExtension()
Formatter
getFileExtension in interface Formatterpublic java.lang.String getFormatKey()
Formatter
getFormatKey in interface Formatter
public void write(Element root,
java.lang.String rootName,
java.io.PrintWriter ps)
Formatter
write in interface Formatterroot - root element of the configuration treerootName - name of root elementps - the PrintStream used to write the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||