Class HTMLStripCharFilter
A CharFilter that wraps another and attempts to strip out HTML constructs.
Inheritance
System.Object
HTMLStripCharFilter
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class HTMLStripCharFilter : BaseCharFilter
Constructors
|
Improve this Doc
View Source
HTMLStripCharFilter(TextReader)
Creates a new HTMLStripCharFilter over the provided TextReader.
Declaration
public HTMLStripCharFilter(TextReader source)
Parameters
Type |
Name |
Description |
TextReader |
source |
to strip html tags from.
|
|
Improve this Doc
View Source
HTMLStripCharFilter(TextReader, ICollection<String>)
Declaration
public HTMLStripCharFilter(TextReader source, ICollection<string> escapedTags)
Parameters
Type |
Name |
Description |
TextReader |
source |
to strip html tags from.
|
ICollection<System.String> |
escapedTags |
Tags in this set (both start and end tags) will not be filtered out.
|
Methods
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
|
Improve this Doc
View Source
Read()
Declaration
public override int Read()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Read(Char[], Int32, Int32)
Declaration
public override int Read(char[] cbuf, int off, int len)
Parameters
Type |
Name |
Description |
System.Char[] |
cbuf |
|
System.Int32 |
off |
|
System.Int32 |
len |
|
Returns
Type |
Description |
System.Int32 |
|