Class 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.

    • 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