public class PluralRuleAdapter extends Object implements AlternateMessageSelector
PluralRule
and AlternateMessageSelector
.
Note that this is temporary - eventually, PluralRule
will
implement AlternateMessageSelector
.
AlternateMessageSelector.AlternateForm
OTHER_FORM, OTHER_FORM_NAME
Constructor and Description |
---|
PluralRuleAdapter(PluralRule pluralRule) |
Modifier and Type | Method and Description |
---|---|
boolean |
isFormAcceptable(String form)
Check if a user-supplied form is acceptable for this alternate message
selector.
|
public PluralRuleAdapter(PluralRule pluralRule)
public boolean isFormAcceptable(String form)
AlternateMessageSelector
isFormAcceptable
in interface AlternateMessageSelector
Copyright © 2018. All rights reserved.