Uses of Class
org.apache.commons.codec.language.bm.NameType
-
Packages that use NameType Package Description org.apache.commons.codec.language.bm Implementation details of the Beider-Morse codec. -
-
Uses of NameType in org.apache.commons.codec.language.bm
Fields in org.apache.commons.codec.language.bm declared as NameType Modifier and Type Field Description private NameType
PhoneticEngine. nameType
Fields in org.apache.commons.codec.language.bm with type parameters of type NameType Modifier and Type Field Description private static java.util.Map<NameType,Lang>
Lang. Langs
private static java.util.Map<NameType,Languages>
Languages. LANGUAGES
private static java.util.Map<NameType,java.util.Set<java.lang.String>>
PhoneticEngine. NAME_PREFIXES
private static java.util.Map<NameType,java.util.Map<RuleType,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.List<Rule>>>>>
Rule. RULES
Methods in org.apache.commons.codec.language.bm that return NameType Modifier and Type Method Description NameType
BeiderMorseEncoder. getNameType()
Gets the name type currently in operation.NameType
PhoneticEngine. getNameType()
Gets the NameType being used.static NameType
NameType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NameType[]
NameType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.commons.codec.language.bm with parameters of type NameType Modifier and Type Method Description private static java.lang.String
Rule. createResourceName(NameType nameType, RuleType rt, java.lang.String lang)
private static java.util.Scanner
Rule. createScanner(NameType nameType, RuleType rt, java.lang.String lang)
static Languages
Languages. getInstance(NameType nameType)
static java.util.List<Rule>
Rule. getInstance(NameType nameType, RuleType rt, java.lang.String lang)
Gets rules for a combination of name type, rule type and a single language.static java.util.List<Rule>
Rule. getInstance(NameType nameType, RuleType rt, Languages.LanguageSet langs)
Gets rules for a combination of name type, rule type and languages.static java.util.Map<java.lang.String,java.util.List<Rule>>
Rule. getInstanceMap(NameType nameType, RuleType rt, java.lang.String lang)
Gets rules for a combination of name type, rule type and a single language.static java.util.Map<java.lang.String,java.util.List<Rule>>
Rule. getInstanceMap(NameType nameType, RuleType rt, Languages.LanguageSet langs)
Gets rules for a combination of name type, rule type and languages.static Lang
Lang. instance(NameType nameType)
Gets a Lang instance for one of the supported NameTypes.private static java.lang.String
Languages. langResourceName(NameType nameType)
void
BeiderMorseEncoder. setNameType(NameType nameType)
Sets the type of name.Constructors in org.apache.commons.codec.language.bm with parameters of type NameType Constructor Description PhoneticEngine(NameType nameType, RuleType ruleType, boolean concat)
Generates a new, fully-configured phonetic engine.PhoneticEngine(NameType nameType, RuleType ruleType, boolean concat, int maxPhonemes)
Generates a new, fully-configured phonetic engine.
-