public interface NLSPlural
| Modifier and Type | Method and Description |
|---|---|
int |
processCount(int messageID,
int count,
int localeIndex)
Processes the given count value through the plural expression for the given locale in order to know which form of
a given plural message to use, if the message is not singular only altogether.
|
int processCount(int messageID,
int count,
int localeIndex)
throws IllegalArgumentException
messageID - the ID of the message.count - the count value.localeIndex - the index of the locale to use the plural expression of.IllegalArgumentException - if the locale argument doesn't match any of the locale name