Class Html2Text
- java.lang.Object
-
- javax.swing.text.html.HTMLEditorKit.ParserCallback
-
- org.silverpeas.components.mailinglist.service.util.Html2Text
-
- All Implemented Interfaces:
HtmlCleaner
@Alternative @Technical @Bean public class Html2Text extends HTMLEditorKit.ParserCallback implements HtmlCleaner
Deprecated.useNekoHtmlCleaner
insteadHTML parser, used to extract text form the HTML.- Author:
- Emmanuel Hugonnet
-
-
Field Summary
-
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
IMPLIED
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getSummary()
Deprecated.void
handleComment(char[] data, int pos)
Deprecated.void
handleEndOfLineString(String eol)
Deprecated.void
handleEndTag(HTML.Tag t, int pos)
Deprecated.void
handleError(String errorMsg, int pos)
Deprecated.void
handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
Deprecated.void
handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
Deprecated.void
handleText(char[] text, int pos)
Deprecated.void
parse(Reader in)
Deprecated.void
setSummarySize(int maxSize)
Deprecated.-
Methods inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback
flush
-
-
-
-
Method Detail
-
setSummarySize
public void setSummarySize(int maxSize)
Deprecated.- Specified by:
setSummarySize
in interfaceHtmlCleaner
-
handleStartTag
public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
Deprecated.- Overrides:
handleStartTag
in classHTMLEditorKit.ParserCallback
-
handleError
public void handleError(String errorMsg, int pos)
Deprecated.- Overrides:
handleError
in classHTMLEditorKit.ParserCallback
-
handleEndTag
public void handleEndTag(HTML.Tag t, int pos)
Deprecated.- Overrides:
handleEndTag
in classHTMLEditorKit.ParserCallback
-
parse
public void parse(Reader in) throws IOException
Deprecated.- Specified by:
parse
in interfaceHtmlCleaner
- Throws:
IOException
-
handleText
public void handleText(char[] text, int pos)
Deprecated.- Overrides:
handleText
in classHTMLEditorKit.ParserCallback
-
handleEndOfLineString
public void handleEndOfLineString(String eol)
Deprecated.- Overrides:
handleEndOfLineString
in classHTMLEditorKit.ParserCallback
-
handleComment
public void handleComment(char[] data, int pos)
Deprecated.- Overrides:
handleComment
in classHTMLEditorKit.ParserCallback
-
handleSimpleTag
public void handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
Deprecated.- Overrides:
handleSimpleTag
in classHTMLEditorKit.ParserCallback
-
getSummary
public String getSummary()
Deprecated.- Specified by:
getSummary
in interfaceHtmlCleaner
-
-