Class Dictionary.DefaultAsUtf8FlagParsingStrategy
java.lang.Object
org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
org.apache.lucene.analysis.hunspell.Dictionary.DefaultAsUtf8FlagParsingStrategy
- Enclosing class:
- Dictionary
private static class Dictionary.DefaultAsUtf8FlagParsingStrategy
extends Dictionary.FlagParsingStrategy
Used to read flags as UTF-8 even if the rest of the file is in the default (8-bit) encoding
-
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
-
DefaultAsUtf8FlagParsingStrategy
private DefaultAsUtf8FlagParsingStrategy()
-
-
Method Details
-
parseFlags
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
-