public static class PluralRule.PluralForm
extends java.lang.Object
Constructor and Description |
---|
PluralForm(java.lang.String name,
java.lang.String description)
Create the plural form.
|
PluralForm(java.lang.String name,
java.lang.String description,
boolean noWarn)
Create the plural form.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getName()
Returns the name.
|
boolean |
getWarnIfMissing()
Returns true if the generator should warn if this plural form is not
present.
|
public PluralForm(java.lang.String name, java.lang.String description)
name
- description
- public PluralForm(java.lang.String name, java.lang.String description, boolean noWarn)
name
- description
- noWarn
- if true, do not warn if this form is missing from a
translation. This is used for those cases where a plural form
is defined for a language, but is very rarely used.