Interface TreeBuilder

  • All Known Implementing Classes:
    XmlTreeBuilder

    public interface TreeBuilder
    A tree builder for parsing a page to Document
    Since:
    8.0.0
    Author:
    jumperchen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.zkoss.idom.Document parse​(java.io.File file)
      Parse the content of a file to a Document
      org.zkoss.idom.Document parse​(java.io.Reader reader)
      Parse the content from a Reader to a Document
      org.zkoss.idom.Document parse​(java.net.URL url)
      Parse the content from a URL to a Document
    • Method Detail

      • parse

        org.zkoss.idom.Document parse​(java.io.File file)
                               throws java.lang.Exception
        Parse the content of a file to a Document
        Throws:
        java.lang.Exception
      • parse

        org.zkoss.idom.Document parse​(java.net.URL url)
                               throws java.lang.Exception
        Parse the content from a URL to a Document
        Throws:
        java.lang.Exception
      • parse

        org.zkoss.idom.Document parse​(java.io.Reader reader)
                               throws java.lang.Exception
        Parse the content from a Reader to a Document
        Throws:
        java.lang.Exception