public class Html2Text extends HTMLEditorKit.ParserCallback
IMPLIED| Constructor and Description |
|---|
Html2Text() |
| Modifier and Type | Method and Description |
|---|---|
String |
getText() |
void |
handleText(char[] text,
int pos) |
void |
parse(Reader in) |
void |
parse(String in) |
String |
stripHtml(String in) |
flush, handleComment, handleEndOfLineString, handleEndTag, handleError, handleSimpleTag, handleStartTagpublic void parse(Reader in) throws IOException
IOExceptionpublic void parse(String in) throws IOException
IOExceptionpublic void handleText(char[] text,
int pos)
handleText in class HTMLEditorKit.ParserCallbackpublic String getText()
Copyright © 2016. All rights reserved.