org.olat.core.util.filter.impl
Class NekoHTMLFilter
java.lang.Object
org.olat.core.logging.LogDelegator
org.olat.core.util.filter.impl.NekoHTMLFilter
- All Implemented Interfaces:
- Filter
public class NekoHTMLFilter
- extends LogDelegator
- implements Filter
Description:
Filter the HTML code using Neko SAX parser and extract the content.
Neko parse the HTML entities too and deliver cleaned text.
Initial Date: 2 dec. 2009
- Author:
- srosse
|
Method Summary |
java.lang.String |
filter(java.io.InputStream in)
|
java.lang.String |
filter(java.lang.String original)
Filter the original value and return the result. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NekoHTMLFilter
public NekoHTMLFilter()
filter
public java.lang.String filter(java.lang.String original)
- Description copied from interface:
Filter
- Filter the original value and return the result. If the original value is
NULL, the filter method will return NULL
- Specified by:
filter in interface Filter
- Returns:
filter
public java.lang.String filter(java.io.InputStream in)