public static class PluralRule.PluralForm extends Object
Constructor and Description |
---|
PluralForm(String name,
String description)
Create the plural form.
|
PluralForm(String name,
String description,
boolean noWarn)
Create the plural form.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description.
|
String |
getName()
Returns the name.
|
boolean |
getWarnIfMissing()
Returns true if the generator should warn if this plural form is not
present.
|
public PluralForm(String name, String description)
name
- description
- public PluralForm(String name, 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.Copyright © 2018. All rights reserved.