public class Html2Text extends HTMLEditorKit.ParserCallback
IMPLIED
构造器和说明 |
---|
Html2Text() |
限定符和类型 | 方法和说明 |
---|---|
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, handleError
public 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)
Copyright © 2020. All rights reserved.