| Package | Description |
|---|---|
| humanize |
Humanize main classes.
|
| humanize.spi.context |
Context providers.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageFormat |
Humanize.messageFormat(String pattern)
Returns a MessageFormat instance for the current thread.
|
static MessageFormat |
Humanize.messageFormat(String pattern,
Locale locale)
Same as
Humanize.messageFormat(String) for the specified locale. |
static MessageFormat |
Humanize.pluralizeFormat(String template)
Constructs a message with pluralization logic from the given template.
|
static MessageFormat |
Humanize.pluralizeFormat(String template,
Locale locale)
Same as
Humanize.pluralizeFormat(String) for the specified locale. |
static MessageFormat |
Humanize.pluralizeFormat(String pattern,
String... choices)
Constructs a message with pluralization logic by the means of
ChoiceFormat.
|
| Modifier and Type | Method and Description |
|---|---|
MessageFormat |
StandardContext.getMessageFormat() |
MessageFormat |
DefaultContext.getMessageFormat() |
Copyright © 2015. All Rights Reserved.