public class PanelConversionReport extends Report
Modifier and Type | Class | Description |
---|---|---|
static class |
PanelConversionReport.Section |
Sub class for PanelConversionReport.
|
Modifier and Type | Field | Description |
---|---|---|
static String |
UNKNOWN_PANEL_TYPE |
Constructor | Description |
---|---|
PanelConversionReport(com.apptus.util.xml.XmlTree asXml,
TimeInterval interval,
List<PanelConversionReport.Section> sections,
TimeZone tz) |
Creates an PanelConversionReport.
|
Modifier and Type | Method | Description |
---|---|---|
void |
exportToExcel(File file) |
Writes the report to a file.
|
static PanelConversionReport |
parse(com.apptus.util.xml.XmlScanner scanner,
TimeZone tz) |
Creates a PanelConversionReport from an XML document.
|
List<PanelConversionReport.Section> |
sections() |
exportToXml, exportToXml, isoDateTimeFormat, timeInterval
public static final String UNKNOWN_PANEL_TYPE
public PanelConversionReport(com.apptus.util.xml.XmlTree asXml, TimeInterval interval, List<PanelConversionReport.Section> sections, TimeZone tz)
asXml
- An XmlTree to be used if the Report.exportToXml(java.io.File)
method is called.tz
- The time zone to use when presenting this report.interval
- The time interval for the data in this report.sections
- A list of PanelConversionReport.Section
elements. One for each
public panel path in the report.public static PanelConversionReport parse(com.apptus.util.xml.XmlScanner scanner, TimeZone tz) throws com.apptus.util.xml.FormatException, com.apptus.util.xml.SourceException
scanner
- A scanner for the XML document to parse.tz
- The time zone to use when presenting this report.AdConversionReport
.com.apptus.util.xml.FormatException
- if the XML document does not match the expected format.com.apptus.util.xml.SourceException
- if the XML document contains errors like invalid XML or if the source is unreadable.public List<PanelConversionReport.Section> sections()
public void exportToExcel(File file) throws FileNotFoundException
Report
exportToExcel
in class Report
file
- The file to write the report to.FileNotFoundException
- if the file does not exists or if the file is inaccessible.Copyright © 2021 Apptus Technologies AB. All rights reserved.