|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.demo.StraightToXML
A demonstration that shows how to generate a report and save it to XML without displaying any print preview first.
| Constructor Summary | |
StraightToXML(java.lang.String filename)
Creates a new demo application. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Demo starting point. |
boolean |
saveXML(JFreeReport report,
java.lang.String fileName)
Saves a report to XML format. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StraightToXML(java.lang.String filename)
throws org.jfree.xml.ParseException
filename - the output filename.
org.jfree.xml.ParseException - if the report could not be parsed.| Method Detail |
public boolean saveXML(JFreeReport report,
java.lang.String fileName)
report - the report.fileName - target file name.
true if the export succeeded, and false otherwise.public static void main(java.lang.String[] args)
args - ignored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||