public class HtmlFormater extends NodeFormaterImpl<HtmlDocument,HtmlNode>
Constructor and Description |
---|
HtmlFormater() |
Modifier and Type | Method and Description |
---|---|
protected StringBuffer |
formatDocumentSelf(HtmlDocument doc)
格式化html文档 并以StringBuffer格式返回
|
protected void |
formatDocumentSelf(HtmlDocument doc,
OutputStream out)
格式化html文档 并在指定的输出流中输出
|
format, format, format, format, formatNode, formatNode, getEncode, getIndentString, getIndentString, setEncode, setIndentString
protected StringBuffer formatDocumentSelf(HtmlDocument doc)
formatDocumentSelf
in class NodeFormaterImpl<HtmlDocument,HtmlNode>
doc
- protected void formatDocumentSelf(HtmlDocument doc, OutputStream out) throws IOException
formatDocumentSelf
in class NodeFormaterImpl<HtmlDocument,HtmlNode>
doc
- out
- IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.