Class TemplateParser


  • public class TemplateParser
    extends Object
    The template parser parses an HTML document and returns a reusable tree representation.
    • Constructor Detail

      • TemplateParser

        public TemplateParser()
    • Method Detail

      • parse

        public Template parse​(Reader reader)
                       throws IOException
        Parse an html document
        Parameters:
        reader - to be parsed
        Returns:
        a Template
        Throws:
        IOException - in case of any parsing error