Class HTMLUtils


  • public class HTMLUtils
    extends Object
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • HTMLUtils

        public HTMLUtils()
    • Method Detail

      • writeXMLFileToTidyHTMLFile

        public static void writeXMLFileToTidyHTMLFile​(File inputFile,
                                                      File outputFile,
                                                      String title)
        Reads an XML input file, tidies up, wraps the output inside an HTML body an writes this to the output file.
        Parameters:
        inputFile - the xml input file
        outputFile - the output file to write the HTML to. Will be created if missing
        title - the HTML title