Class MockTokenizer
Inheritance
System.Object
MockTokenizer
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockTokenizer : Tokenizer
Constructors
Name | Description |
---|---|
MockTokenizer(AttributeFactory, TextReader) | Calls |
MockTokenizer(AttributeFactory, TextReader, CharacterRunAutomaton, Boolean) | |
MockTokenizer(AttributeFactory, TextReader, CharacterRunAutomaton, Boolean, Int32) | |
MockTokenizer(TextReader) | Calls |
MockTokenizer(TextReader, CharacterRunAutomaton, Boolean) | |
MockTokenizer(TextReader, CharacterRunAutomaton, Boolean, Int32) |
Fields
Name | Description |
---|---|
DEFAULT_MAX_TOKEN_LENGTH | |
KEYWORD | Acts Similar to KeywordTokenizer. TODO: Keyword returns an "empty" token for an empty reader... |
SIMPLE | Acts like LetterTokenizer. |
WHITESPACE | Acts Similar to WhitespaceTokenizer |
Properties
Name | Description |
---|---|
EnableChecks | Toggle consumer workflow checking: if your test consumes tokenstreams normally you should leave this enabled. |
Methods
Name | Description |
---|---|
Dispose(Boolean) | |
End() | |
IncrementToken() | |
IsTokenChar(Int32) | |
Normalize(Int32) | |
ReadChar() | |
ReadCodePoint() | |
Reset() |