Class HTMLStripCharFilter
A Lucene.Net.Analysis.CharFilter that wraps another System.IO.TextReader and attempts to strip out HTML constructs.
Inheritance
System.Object
System.MarshalByRefObject
System.IO.TextReader
Lucene.Net.Analysis.CharFilter
HTMLStripCharFilter
Implements
System.IDisposable
Inherited Members
Lucene.Net.Analysis.CharFilter.m_input
Lucene.Net.Analysis.CharFilter.Reset()
Lucene.Net.Analysis.CharFilter.IsReady
Lucene.Net.Analysis.CharFilter.IsMarkSupported
System.IO.TextReader.Null
System.IO.TextReader.Close()
System.IO.TextReader.Dispose()
System.IO.TextReader.Peek()
System.IO.TextReader.ReadAsync(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadBlock(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadBlockAsync(System.Char[], System.Int32, System.Int32)
System.IO.TextReader.ReadLine()
System.IO.TextReader.ReadLineAsync()
System.IO.TextReader.ReadToEnd()
System.IO.TextReader.ReadToEndAsync()
System.IO.TextReader.Synchronized(System.IO.TextReader)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.CharFilters
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class HTMLStripCharFilter : BaseCharFilter, IDisposable
Constructors
| Improve this Doc View SourceHTMLStripCharFilter(TextReader)
Creates a new HTMLStripCharFilter over the provided TextReader.
Declaration
public HTMLStripCharFilter(TextReader source)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | source | System.IO.TextReader to strip html tags from. |
HTMLStripCharFilter(TextReader, ICollection<String>)
Creates a new HTMLStripCharFilter over the provided System.IO.TextReader with the specified start and end tags.
Declaration
public HTMLStripCharFilter(TextReader source, ICollection<string> escapedTags)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | source | System.IO.TextReader to strip html tags from. |
System.Collections.Generic.ICollection<System.String> | escapedTags | Tags in this set (both start and end tags) will not be filtered out. |
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceRead()
Declaration
public override int Read()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Analysis.CharFilter.Read()
|
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 |
Overrides
Implements
System.IDisposable