Class SimpleBoundaryScanner
Simple boundary scanner implementation that divides fragments
based on a set of separator characters.
Inheritance
System.Object
SimpleBoundaryScanner
Inherited Members
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()
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class SimpleBoundaryScanner : IBoundaryScanner
Constructors
|
Improve this Doc
View Source
SimpleBoundaryScanner()
Declaration
public SimpleBoundaryScanner()
|
Improve this Doc
View Source
SimpleBoundaryScanner(Char[])
Declaration
public SimpleBoundaryScanner(char[] boundaryChars)
Parameters
Type |
Name |
Description |
System.Char[] |
boundaryChars |
|
|
Improve this Doc
View Source
SimpleBoundaryScanner(Int32)
Declaration
public SimpleBoundaryScanner(int maxScan)
Parameters
Type |
Name |
Description |
System.Int32 |
maxScan |
|
|
Improve this Doc
View Source
SimpleBoundaryScanner(Int32, Char[])
Declaration
public SimpleBoundaryScanner(int maxScan, char[] boundaryChars)
Parameters
Type |
Name |
Description |
System.Int32 |
maxScan |
|
System.Char[] |
boundaryChars |
|
|
Improve this Doc
View Source
SimpleBoundaryScanner(Int32, ISet<Char>)
Declaration
public SimpleBoundaryScanner(int maxScan, ISet<char> boundaryChars)
Parameters
Type |
Name |
Description |
System.Int32 |
maxScan |
|
System.Collections.Generic.ISet<System.Char> |
boundaryChars |
|
Fields
|
Improve this Doc
View Source
DEFAULT_BOUNDARY_CHARS
Declaration
public static readonly char[] DEFAULT_BOUNDARY_CHARS
Field Value
Type |
Description |
System.Char[] |
|
|
Improve this Doc
View Source
DEFAULT_MAX_SCAN
Declaration
public static readonly int DEFAULT_MAX_SCAN
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
m_boundaryChars
Declaration
protected ISet<char> m_boundaryChars
Field Value
Type |
Description |
System.Collections.Generic.ISet<System.Char> |
|
|
Improve this Doc
View Source
m_maxScan
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
FindEndOffset(StringBuilder, Int32)
Declaration
public virtual int FindEndOffset(StringBuilder buffer, int start)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
buffer |
|
System.Int32 |
start |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FindStartOffset(StringBuilder, Int32)
Declaration
public virtual int FindStartOffset(StringBuilder buffer, int start)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
buffer |
|
System.Int32 |
start |
|
Returns
Type |
Description |
System.Int32 |
|
Implements