org.zkoss.zk.ui.metainfo
Interface TreeBuilder

All Known Implementing Classes:
HtmlTreeBuilder, XmlTreeBuilder

public interface TreeBuilder

A tree builder for parsing a page to Document

Since:
8.0.0
Author:
jumperchen

Method Summary
 Document parse(java.io.File file)
          Parse the content of a file to a Document
 Document parse(java.io.Reader reader)
          Parse the content from a Reader to a Document
 Document parse(java.net.URL url)
          Parse the content from a URL to a Document
 

Method Detail

parse

Document parse(java.io.File file)
               throws java.lang.Exception
Parse the content of a file to a Document

Throws:
java.lang.Exception

parse

Document parse(java.net.URL url)
               throws java.lang.Exception
Parse the content from a URL to a Document

Throws:
java.lang.Exception

parse

Document parse(java.io.Reader reader)
               throws java.lang.Exception
Parse the content from a Reader to a Document

Throws:
java.lang.Exception


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo