Class ReportConverter
- java.lang.Object
-
- com.inductiveautomation.factorypmi.plugins.reporting.customizers.ReportConverter
-
public class ReportConverter extends java.lang.Object
Filename: ReportConverter.java Created on Jul 20, 2015 Author: Kathy Applebaum Copyright Inductive Automation 2015 Project: Reporting Migrates an old (pre-7.8) style report to the 7.8+ style.
-
-
Constructor Summary
Constructors Constructor Description ReportConverter(DesignerContext context, ReportPanel rp, WindowWorkspace workspace, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
convert()
protected byte[]
createBytes(ReportResource reportResource)
static org.w3c.dom.Document
loadXMLFromString(java.lang.String xml)
-
-
-
Constructor Detail
-
ReportConverter
public ReportConverter(DesignerContext context, ReportPanel rp, WindowWorkspace workspace, java.lang.String name)
-
-
Method Detail
-
convert
public boolean convert()
-
createBytes
protected byte[] createBytes(ReportResource reportResource) throws java.lang.Exception
- Throws:
java.lang.Exception
-
loadXMLFromString
public static org.w3c.dom.Document loadXMLFromString(java.lang.String xml) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
-
-