public class AdPlacementReport extends Report
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AdPlacementReport.Section |
Sub class for AdPlacementReport.
|
| Constructor | Description |
|---|---|
AdPlacementReport(com.apptus.util.xml.XmlTree asXml,
List<AdPlacementReport.Section> sections,
TimeInterval interval,
TimeZone tz) |
Creates an AdPlacementReport.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
exportToExcel(File file) |
Writes the report to a file.
|
static AdPlacementReport |
parse(com.apptus.util.xml.XmlScanner scanner,
TimeZone tz) |
Creates an AdPlacementReport from an XML document.
|
List<AdPlacementReport.Section> |
sections() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportToXml, exportToXml, isoDateTimeFormat, timeIntervalpublic AdPlacementReport(com.apptus.util.xml.XmlTree asXml,
List<AdPlacementReport.Section> sections,
TimeInterval interval,
TimeZone tz)
asXml - An XmlTree to be used if the Report.exportToXml(java.io.File) method is called.sections - A list of AdPlacementReport.Section elements. One for each ad in
the report.interval - The time range for the data in this report.tz - The time zone to use when presenting this report.public static AdPlacementReport 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.AdPlacementReport.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<AdPlacementReport.Section> sections()
public void exportToExcel(File file) throws FileNotFoundException
ReportexportToExcel in class Reportfile - The file to write the report to.FileNotFoundException - if the file does not exists or if the file is inaccessible.Copyright © 2019 Apptus Technologies AB. All rights reserved.