Méthode | Description | |
---|---|---|
WordDelimiterFilter ( System.Version matchVersion, TokenStream @in, int configurationFlags, CharArraySet protWords ) : System |
Creates a new WordDelimiterFilter using WordDelimiterIterator#DEFAULT_WORD_DELIM_TABLE as its charTypeTable
|
|
WordDelimiterFilter ( System.Version matchVersion, TokenStream @in, sbyte charTypeTable, int configurationFlags, CharArraySet protWords ) : System |
Creates a new WordDelimiterFilter
|
|
incrementToken ( ) : bool | ||
reset ( ) : void |
Méthode | Description | |
---|---|---|
InitializeInstanceFields ( ) : void | ||
buffer ( ) : void | ||
concatenate ( WordDelimiterConcatenation concatenation ) : void |
Concatenates the saved buffer to the given WordDelimiterConcatenation
|
|
flushConcatenation ( WordDelimiterConcatenation concatenation ) : bool |
Flushes the given WordDelimiterConcatenation by either writing its concat and then clearing, or just clearing.
|
|
generatePart ( bool isSingleWord ) : void |
Generates a word/number part, updating the appropriate attributes
|
|
has ( int flag ) : bool |
Determines whether the given flag is set
|
|
isAlpha ( int type ) : bool |
Checks if the given word type includes #ALPHA
|
|
isDigit ( int type ) : bool |
Checks if the given word type includes #DIGIT
|
|
isSubwordDelim ( int type ) : bool |
Checks if the given word type includes #SUBWORD_DELIM
|
|
isUpper ( int type ) : bool |
Checks if the given word type includes #UPPER
|
|
position ( bool inject ) : int |
Get the position increment gap for a subword or concatenation
|
|
saveState ( ) : void |
Saves the existing attribute states
|
|
shouldConcatenate ( int wordType ) : bool |
Determines whether to concatenate a word or number if the current word is the given type
|
|
shouldGenerateParts ( int wordType ) : bool |
Determines whether a word/number part should be generated for a word of the given type
|
public WordDelimiterFilter ( System.Version matchVersion, TokenStream @in, int configurationFlags, CharArraySet protWords ) : System | ||
matchVersion | System.Version | |
@in | TokenStream | |
configurationFlags | int | Flags configuring the filter |
protWords | CharArraySet | If not null is the set of tokens to protect from being delimited |
Résultat | System |
public WordDelimiterFilter ( System.Version matchVersion, TokenStream @in, sbyte charTypeTable, int configurationFlags, CharArraySet protWords ) : System | ||
matchVersion | System.Version | |
@in | TokenStream | |
charTypeTable | sbyte | table containing character types |
configurationFlags | int | Flags configuring the filter |
protWords | CharArraySet | If not null is the set of tokens to protect from being delimited |
Résultat | System |