|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.output.PanFormatter
public class PanFormatter
| 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 PanFormatter |
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 PanFormatter 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 | |||||||||