Class Dictionary.SimpleFlagParsingStrategy
java.lang.Object
org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
org.apache.lucene.analysis.hunspell.Dictionary.SimpleFlagParsingStrategy
- Enclosing class:
- Dictionary
Simple implementation of
Dictionary.FlagParsingStrategy that treats the chars in each String as a
individual flags. Can be used with both the ASCII and UTF-8 flag types.-
Field Summary
Fields inherited from class org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
checkFlags -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar[]parseFlags(String rawFlags) Parses the given String into multiple flagsMethods inherited from class org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
parseFlag
-
Constructor Details
-
SimpleFlagParsingStrategy
private SimpleFlagParsingStrategy()
-
-
Method Details
-
parseFlags
Description copied from class:Dictionary.FlagParsingStrategyParses the given String into multiple flags- Specified by:
parseFlagsin classDictionary.FlagParsingStrategy- Parameters:
rawFlags- String to parse into flags- Returns:
- Parsed flags
-