Uses of Class
com.ibm.icu.text.PluralRules.PluralType
-
Packages that use PluralRules.PluralType Package Description com.ibm.icu.impl com.ibm.icu.text -
-
Uses of PluralRules.PluralType in com.ibm.icu.impl
Methods in com.ibm.icu.impl with parameters of type PluralRules.PluralType Modifier and Type Method Description PluralRules
PluralRulesLoader. forLocale(ULocale locale, PluralRules.PluralType type)
Returns the plural rules for the the locale.private java.util.Map<java.lang.String,java.lang.String>
PluralRulesLoader. getLocaleIdToRulesIdMap(PluralRules.PluralType type)
Returns the lazily-constructed map.PluralRules
PluralRulesLoader. getOrCreateRulesForLocale(ULocale locale, PluralRules.PluralType type)
Gets the rule from the rulesId.java.lang.String
PluralRulesLoader. getRulesIdForLocale(ULocale locale, PluralRules.PluralType type)
Gets the rulesId from the locale,with locale fallback. -
Uses of PluralRules.PluralType in com.ibm.icu.text
Fields in com.ibm.icu.text declared as PluralRules.PluralType Modifier and Type Field Description private PluralRules.PluralType
MessageFormat.PluralSelectorProvider. type
Methods in com.ibm.icu.text that return PluralRules.PluralType Modifier and Type Method Description static PluralRules.PluralType
PluralRules.PluralType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PluralRules.PluralType[]
PluralRules.PluralType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.ibm.icu.text with parameters of type PluralRules.PluralType Modifier and Type Method Description (package private) PluralFormat
RuleBasedNumberFormat. createPluralFormat(PluralRules.PluralType pluralType, java.lang.String pattern)
abstract PluralRules
PluralRules.Factory. forLocale(ULocale locale, PluralRules.PluralType type)
Deprecated.This API is ICU internal only.static PluralRules
PluralRules. forLocale(ULocale locale, PluralRules.PluralType type)
Provides access to the predefinedPluralRules
for a given locale and the plural type.static PluralRules
PluralRules. forLocale(java.util.Locale locale, PluralRules.PluralType type)
Provides access to the predefinedPluralRules
for a givenLocale
and the plural type.private void
PluralFormat. init(PluralRules rules, PluralRules.PluralType type, ULocale locale, NumberFormat numberFormat)
Constructors in com.ibm.icu.text with parameters of type PluralRules.PluralType Constructor Description PluralFormat(ULocale ulocale, PluralRules.PluralType type)
Creates a newPluralFormat
for the plural type.PluralFormat(ULocale ulocale, PluralRules.PluralType type, java.lang.String pattern)
Creates a newPluralFormat
for a plural type, a pattern and a locale.PluralFormat(ULocale ulocale, PluralRules.PluralType type, java.lang.String pattern, NumberFormat numberFormat)
Creates a newPluralFormat
for a plural type, a pattern and a locale.PluralFormat(java.util.Locale locale, PluralRules.PluralType type)
Creates a newPluralFormat
for the plural type.PluralSelectorProvider(MessageFormat mf, PluralRules.PluralType type)
-