Class XmlPageReportUtil
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.pageable.xml.XmlPageReportUtil
-
public class XmlPageReportUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
createXml(MasterReport report, File fileName)
Saves a report to XML format.static boolean
createXml(MasterReport report, OutputStream out)
Saves a report to XML format.static boolean
createXml(MasterReport report, String fileName)
Concates and saves a list of reports to XML format.
-
-
-
Method Detail
-
createXml
public static boolean createXml(MasterReport report, File fileName)
Saves a report to XML format.- Parameters:
report
- the report.fileName
- target file.- Returns:
- true if the report has been successfully exported, false otherwise.
-
createXml
public static boolean createXml(MasterReport report, OutputStream out)
Saves a report to XML format.- Parameters:
report
- the report.out
- target output stream.- Returns:
- true if the report has been successfully exported, false otherwise.
-
createXml
public static boolean createXml(MasterReport report, String fileName)
Concates and saves a list of reports to XML format.- Parameters:
report
- the report.fileName
- target file name.- Returns:
- true if the report has been successfully exported, false otherwise.
-
-