public class Html2TextUtil extends HTMLEditorKit.ParserCallback
| 限定符和类型 | 字段和说明 |
|---|---|
private static Html2TextUtil |
html2TextUtil |
(专用程序包) StringBuffer |
s |
IMPLIED| 构造器和说明 |
|---|
Html2TextUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getContent(String str) |
String |
getText() |
void |
handleText(char[] text,
int pos) |
void |
parse(String str) |
flush, handleComment, handleEndOfLineString, handleEndTag, handleError, handleSimpleTag, handleStartTagprivate static Html2TextUtil html2TextUtil
public Html2TextUtil()
public void parse(String str) throws IOException
IOExceptionpublic void handleText(char[] text, int pos)
public static String getContent(String str)
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.