public class Html2Text extends HTMLEditorKit.ParserCallback
IMPLIED| 构造器和说明 |
|---|
Html2Text() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getText() |
void |
handleEndOfLineString(String eol) |
void |
handleEndTag(HTML.Tag t,
int pos) |
void |
handleSimpleTag(HTML.Tag t,
MutableAttributeSet a,
int pos) |
void |
handleStartTag(HTML.Tag t,
MutableAttributeSet a,
int pos) |
void |
handleText(char[] text,
int pos) |
static String |
simpleHtml(String html) |
flush, handleComment, handleErrorpublic void handleText(char[] text,
int pos)
public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
public void handleEndTag(HTML.Tag t, int pos)
public void handleEndOfLineString(String eol)
public void handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
public String getText()
Copyright © 2019. All rights reserved.