Class Dictionary.SimpleFlagParsingStrategy
- java.lang.Object
-
- org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
-
- org.apache.lucene.analysis.hunspell.Dictionary.SimpleFlagParsingStrategy
-
- Enclosing class:
- Dictionary
private static class Dictionary.SimpleFlagParsingStrategy extends Dictionary.FlagParsingStrategy
Simple implementation ofDictionary.FlagParsingStrategy
that treats the chars in each String as a individual flags. Can be used with both the ASCII and UTF-8 flag types.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SimpleFlagParsingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
parseFlags(java.lang.String rawFlags)
Parses the given String into multiple flags-
Methods inherited from class org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
parseFlag
-
-
-
-
Method Detail
-
parseFlags
public char[] parseFlags(java.lang.String rawFlags)
Description copied from class:Dictionary.FlagParsingStrategy
Parses the given String into multiple flags- Specified by:
parseFlags
in classDictionary.FlagParsingStrategy
- Parameters:
rawFlags
- String to parse into flags- Returns:
- Parsed flags
-
-